View previous topic :: View next topic |
Author |
Message |
gunters63
Joined: 25 Jan 2011 Posts: 21
|
Posted: Wed Jan 26, 2011 1:38 pm Post subject: Preview of user controls |
|
|
Hi,
I have a small problem with the WPF target preview window in Globalizer.NET (2.3.9.0).
When i preview user controls which have their Height and Width properties explicitly set all is fine. But if those are not set it seems to resize them to a fixed Height or Weight of about 200 clipping otherwise visible parts.
If you don't explicitly set Height and Weight of a UserControl it should resize automatically to the size of its contents because those should inherit "Auto" as default value.
Regards,
Gunter |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Jan 27, 2011 9:42 pm Post subject: |
|
|
If your control is auto sized but has a minimum width/height that it requires in order to function then you should set the MinWidth and MinHeight properties for it in the Visual Studio designer. Globalizer.NET will then use these properties. _________________ Infralution Support |
|
Back to top |
|
|
|