G
Guest
I have a forms based application that has hard values set for the size of the
window as well as each and every control on it and it draws reliably
everywhere but on a single machine.
When loaded on this particular machine, a Dell Latitude D800 laptop with
XPSP2 and framework 1.1 with SP1 and is running its display at 1680x1050, the
proper sizing of the form and sub controls goes to hell.
Buttons on the ToolBar on the app are noticeably smaller than normal and
resulting in about 20% of the entire bar being empty below the buttons.
The panels of the StatusBar at the bottom of the form also are properly
sized... but this is the end of it. Several custom user controls appear to
start further to the left than expected and be cut off by the right edge of
the form. Expanding the size of the form results in ridicules amounts of
empty space in both the IDE and on regularly working PC’s, but improves the
drawing on this laptop.
After extensive experimentation (short of installing VS to the laptop in
question), it almost seems like the unit of size of is different depending on
where it is. The window is of the correct height and width, as said the
StatusBar panels are also properly sized... however several custom controls
end up drawing outside of their expected boundaries (as if they are being
told that the actual drawable area is much much larger than it really is).
You may have noticed from the resolution mentioned above is around a 16x9
aspect ratio, thinking this might have something to do with it we tested the
app at multiple different resolutions with different ratios on multiple
devices... and yet the problem remains solely on this PC.
Anyone care to venture a guess as to what is going on and what might be done
to fix it?
Thanks,
Brendan Grant
window as well as each and every control on it and it draws reliably
everywhere but on a single machine.
When loaded on this particular machine, a Dell Latitude D800 laptop with
XPSP2 and framework 1.1 with SP1 and is running its display at 1680x1050, the
proper sizing of the form and sub controls goes to hell.
Buttons on the ToolBar on the app are noticeably smaller than normal and
resulting in about 20% of the entire bar being empty below the buttons.
The panels of the StatusBar at the bottom of the form also are properly
sized... but this is the end of it. Several custom user controls appear to
start further to the left than expected and be cut off by the right edge of
the form. Expanding the size of the form results in ridicules amounts of
empty space in both the IDE and on regularly working PC’s, but improves the
drawing on this laptop.
After extensive experimentation (short of installing VS to the laptop in
question), it almost seems like the unit of size of is different depending on
where it is. The window is of the correct height and width, as said the
StatusBar panels are also properly sized... however several custom controls
end up drawing outside of their expected boundaries (as if they are being
told that the actual drawable area is much much larger than it really is).
You may have noticed from the resolution mentioned above is around a 16x9
aspect ratio, thinking this might have something to do with it we tested the
app at multiple different resolutions with different ratios on multiple
devices... and yet the problem remains solely on this PC.
Anyone care to venture a guess as to what is going on and what might be done
to fix it?
Thanks,
Brendan Grant