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

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » there is no fontpusher class (just checking)
Re: there is no fontpusher class (just checking) [message #10944 is a reply to message #10943] Mon, 06 August 2007 18:54 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1324
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
nixnixnix wrote on Mon, 06 August 2007 17:09


...
For some reason, buttons and other similar objects do not behave well when I try to set their fonts.
...
Label is the only class I've found which can display fonts correctly.
...


My very strong guess is that in CtrlLib/Button.cpp ~line 182:
	font = StdFont();

when CtrlLib/LabelBase.cpp ~line 301:
LabelBase& LabelBase::SetFont(Font font) {
	if(lbl.font != font) {
		lbl.font = font;
		LabelUpdate();
	}
	return *this;
}

And what you want (and I wanted long time ago... Smile ) is to have options to exclude Ctrls from Chameleon (or sytem unified look) dictatorship... Ok, at least fonts for the beginning. Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing Functions for Layouter
Next Topic: howto force evaluation after <CR>
Goto Forum:
  


Current Time: Wed Sep 30 13:32:52 GMT+2 2026

Total time taken to generate the page: 0.01084 seconds