Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Preview of user controls

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support
View previous topic :: View next topic  
Author Message
gunters63



Joined: 25 Jan 2011
Posts: 21

PostPosted: Wed Jan 26, 2011 1:38 pm    Post subject: Preview of user controls Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Jan 27, 2011 9:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group