Re: why does build resize form controls?
From: saurabh (saurabh_at_nagpurcity.net)
Date: 12/13/04
- Next message: saurabh: "Re: why does build resize form controls?"
- Previous message: MajorTom: "Re: An established connection was aborted by the software in your host machine"
- Next in thread: saurabh: "Re: why does build resize form controls?"
- Reply: saurabh: "Re: why does build resize form controls?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 13:45:14 -0000
I would say, its to do with autoscaling. The Winforms autoscale depending on
the fact that the font size in design mode is different to the one when its
running. When the AutoScale property is set to true, the framework checks
for the AutoScaleBaseSize and then scales the controls accordingly.
Are you using 120 DPI whereas the base one was designed at 96 DPI or other
way round
--Saurabh
"shamus" <shamus@discussions.microsoft.com> wrote in message
news:8503BB2E-2D0F-41F2-BEDA-BA9B180CA404@microsoft.com...
> I'd posted months without having a grasp of what the problem really is.
> The
> issue is with an Infragistics UltraWinListBar control. It's on a base
> form,
> many forms inherit from the base form. The UltraWinListBar controls on the
> inherited forms seem to want to use their own size information instead of
> the
> inherited size values. I hit reset in properties, and the control returns
> to
> the inherited size (75,568). But, then I build (or rebuild) and the
> control
> returns to 75,547. It's bizarre and frustraing. Locking the control does
> no
> good. Is something stuck in a cache somewhere? I just don't get it. If
> anyone
> knows of this issue, I'd appreciate a response.
> Thanks,
> Shamus
- Next message: saurabh: "Re: why does build resize form controls?"
- Previous message: MajorTom: "Re: An established connection was aborted by the software in your host machine"
- Next in thread: saurabh: "Re: why does build resize form controls?"
- Reply: saurabh: "Re: why does build resize form controls?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|