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 » Zooming layouts and different behaviour windows/linux
Re: Zooming layouts and different behaviour windows/linux [message #33490 is a reply to message #33488] Sat, 13 August 2011 03:12 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mdelfede wrote on Fri, 12 August 2011 11:34

mirek wrote on Fri, 12 August 2011 17:28



IMO, font size should basically follow the font size of host machine - that is what is chameleon for...

Now, it is unfortunately true that chameleon picks values only at beginning. However, if you would want to change it during program run, you would have to have some way how to set new values everywhere value is present. E.g. we have something like AttrText with SetFont method that is supposed to fill ArrayCtrl - you would have to refill ArrayCtrl if settings change. That IMO would require a lot of work for client code....




It's true, but it doesn't seem to me that fonts are *so* different.... windows are smaller, of course, but the difference spotted by Upp is huge.



If the font size differs from one that is present on host machine, well, that is another issue, one worth fixing. I have already pointed out where the font size is fetched from gtk...

Quote:


Anyways, it should be a way to adjust fonts/layouts sizes *before* chamaleon grab them... otherwise, resizing fonts is useless.
What about some way to call an user function that do the job before Upp does its settings ? maybe with a #define which, when set, calls an user function, or something like this....



Putting it to the beginning of GUI_APP_MAIN should definitely work. Please put breakpoint to e.g. TabCtrl chameleon init to find out where it gets called from... (and then tell me).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PushButton with text in the bottom
Next Topic: What is best way to obtain button info via callback?
Goto Forum:
  


Current Time: Sat Apr 27 15:26:12 CEST 2024

Total time taken to generate the page: 0.06157 seconds