Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App Screen too big for laptop
Message
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01537496
Message ID:
01537517
Views:
52
>Hi all, I just installed an app of mine on a laptop and guess what ? the main opening form ( which has a lot of info on it ) is way too large for the laptop. I seem to recall in VFP there was a maximum design area which gave you a pretty good idea what would fit - is there something like this in VS ? or is this the wrong way to go ? ( I have a feeling it is :-( ) All suggestions gratefully received

As John suggests *never*, unless you have very good reasons, hard code a Height or Width for a window (or, for that matter, anything else). If you do want to constrain the upper limits use MaxWidth/MaxHeight. Otherwise, If you want the window to fill the current screen you can just set WindowState to WindowState.Maximized.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform