Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » BUGFIX: ExpanderFrame
Re: BUGFIX: ExpanderFrame [message #27381 is a reply to message #27380] Thu, 15 July 2010 11:56 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Also, my take on the SetFont / Style-font issue is that SetFont is used on Ctrls when the text is the Data (like an EditField) and/or you will want to set the font through the designer, which you cannot do if it's in the Style.

For Ctrls like Button I think it is correct that the font is in the style because 99% of the time you just want it to match the OS theme.

You could I suppose move font for EditFields and similar into their Styles and then have an optional override through SetFont, but it's a bit cumbersome. It would offer advantages for skjinning though.

[Updated on: Thu, 15 July 2010 11:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: X11 Windowed control and others
Next Topic: Docking: Bug Fix:
Goto Forum:
  


Current Time: Wed Aug 27 05:45:37 CEST 2025

Total time taken to generate the page: 0.05064 seconds