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 » Look and Chameleon Technology » Text scaling in U++
Re: Text scaling in U++ [message #60769 is a reply to message #60767] Fri, 06 September 2024 14:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14250
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 06 September 2024 12:28
Greetings to all

I'm getting older, and I'm more and more sensitive to the problems of people with poor eyesight.

Do you know if it is possible to change the text scaling, in the code, without depending on the scaling used by the operating system desktop?


GUI_APP_MAIN {
	SetStdFont(Arial(40));
	PromptOK("Is this fine?");
}


Note: What we do without using SetStdFont is that we read that font from OS - that among other issues means we read "scaled" value. Then all layouts are scaled on ratio between standard font and "design font". Then if font is bigger then certain threshold, UHD icons become active (either dedicated or synthetised).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Colored text in Button
Next Topic: Arrows in Win11 scrollbar disappeared
Goto Forum:
  


Current Time: Wed Mar 26 21:23:44 CET 2025

Total time taken to generate the page: 0.02623 seconds