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 » 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: 1321
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 May 15 17:27:03 CEST 2024

Total time taken to generate the page: 0.02733 seconds