U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Look and Chameleon Technology » Button font
Button font [message #41890] Tue, 04 February 2014 00:09 Go to next message
galious is currently offline  galious
Messages: 28
Registered: March 2008
Promising Member
Hi,

I have a style defined with a specific font. This font should be applied to all buttons with this style. Unless I explicitly set the font of the buttons to Null with
btn.SetFont(Null)
the font from the style isn't applied.

I've narrowed it down to line 174 of Button.cpp: the font is always set to StdFont().

Is there any specific reason this gets always set and isn't retrieved from the style of the button, unless the font is set to Null?


Best regards,

Martin
Re: Button font [message #42005 is a reply to message #41890] Mon, 10 February 2014 19:52 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Hopefuly fixed, please check.
Previous Topic: [WIN] Chameleon - blocking style changes
Next Topic: How to chameleonize DockableCtrl tab button when in AutoHide mode?
Goto Forum:
  


Current Time: Tue May 05 05:54:21 GMT+2 2026

Total time taken to generate the page: 0.01101 seconds