|
|
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 #33486 is a reply to message #33485] |
Fri, 12 August 2011 17:23 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
mirek wrote on Fri, 12 August 2011 17:09 |
Somewhat weird, as IMO it already depends on font height:
CH_STYLE(TabCtrl, Style, StyleDefault)
{
font = StdFont();
tabheight = font.Info().GetHeight() + 8;
margin = 2;
One possible explanation is that layout is initialized before you change the font. Put sime DDUMPs/DLOGs to find out...
Mirek
|
Yep, it's initialized *before* for sure.
But, here we've got 2 different problems :
1) Calculated font and widgets sizes are quite different from Linux and windows. On windows we get small chars. DPI is set on 96 on my machine, so it's the normal one
I think it would be nicer to have similar font sizes on both, otherwise it's quite hard to have an uniform layout on both environment.
2) There should be a consistent way to resize fonts AND widgets on the fly, or at least at application startup... just after GUI_APP_MAIN.
Now, if I change font size there, layout don't change. If I zoom layout manually, layout changes, but tabs vertical sizes don't.
Max
|
|
|
|
|
Zooming layouts and different behaviour windows/linux
By: mdelfede on Wed, 10 August 2011 19:18
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 11 August 2011 10:30
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 12 August 2011 17:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 12 August 2011 17:23
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 12 August 2011 17:28
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 12 August 2011 17:34
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sat, 13 August 2011 03:12
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Sun, 14 August 2011 02:13
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Sun, 14 August 2011 17:50
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Mon, 15 August 2011 15:28
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 18 August 2011 01:34
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 18 August 2011 14:59
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 26 August 2011 14:02
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sat, 27 August 2011 02:30
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 28 August 2011 09:00
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 02 September 2011 15:26
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 02 September 2011 17:51
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Tue, 06 September 2011 14:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Thu, 08 September 2011 09:56
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Wed, 17 August 2011 13:43
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 24 June 2012 13:04
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 24 June 2012 15:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
Goto Forum:
Current Time: Sun Apr 28 17:44:17 CEST 2024
Total time taken to generate the page: 0.04777 seconds
|
|
|