Home » Developing U++ » UppHub » BUGFIX: ExpanderFrame
|
|
|
|
|
Re: BUGFIX: ExpanderFrame [message #27380 is a reply to message #27360] |
Thu, 15 July 2010 11:50 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
I've re-written the painting routines completely and expanded the style flexibility so that the previous hacks to make ButtonStyle work are no longer necessary.
The only problem is that vertical usage will require the developer to create their own skin but I don't think anyone will actually use it like that anyway.
Changes are in the SVN.
[Updated on: Thu, 15 July 2010 11:50] Report message to a moderator
|
|
|
Re: BUGFIX: ExpanderFrame [message #27381 is a reply to message #27380] |
Thu, 15 July 2010 11:56 |
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
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 08:33:20 CEST 2024
Total time taken to generate the page: 0.03239 seconds
|