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 » Community » Newbie corner » Upp GUI size in Win and Ubuntu
Re: Upp GUI size in Win and Ubuntu [message #39901 is a reply to message #39892] Fri, 10 May 2013 04:48 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I started tinkering with fonts but decided not to go that route.

piotr5 wrote on Thu, 09 May 2013 02:34

as far as I know in wine 96 is the default dpi no matter where...


I have 5 computers near or on a desk. Each has a Win and Ubuntu OS. When the Upp app is run with wine the size is OK. For a user or even myself to change the font for each where necessary is not a viable option. Letting them know Wine needs to be installed is a better option.

Ctrl::NoLayoutZoom(); works good for the GUI size. BUT: Even though each field in the dlg.lay is specified for location and size in pixels that is ignored or over ridden by the font size or whatever.

Is there a way to lock in all the dlg.lay dimensions?

edit: Apparently in Win OS the dimensions are locked in and independent of the font size. I changed one of the EditField size from 12 to SetFont(StdFontZ(60). It still displays the characters as size 12.

I am not that familiar with the Upp GUI code so I may be wrong.

[Updated on: Fri, 10 May 2013 05:32]

Report message to a moderator

 
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: Pick Semantics: Passing a Vector to a method
Next Topic: [Solved] SysInfo_Demo_Gui is where to find?
Goto Forum:
  


Current Time: Wed Apr 30 22:23:00 CEST 2025

Total time taken to generate the page: 0.03901 seconds