Sex, 2008-10-24 às 16:16 +0200, Duncan Mac-Vicar Prett escreveu:
> Ricardo Cruz wrote:
> >  With regard to the default size, gtk's is 600x600 pixels, while qt
> > scales to the display resolution (to some extent). The display
> > resolution is in pixel units though and as the needed pixels are always
> > the same anyway, and the font will be the one influencing the needed
> > size, setting it in font units makes more sense. However, the font is
> > only responsible in part for the needed size, so you'd want to scale the
> > thing conservatively.
> >   
> And the way yast2-qt scales makes sense,

 Screen resolution in no way determines the needed size. Something based
on the desktop font would make more sense.

Cheers,
 Ricardo

>  but except for 2 things:
> 
> - it assumes for some reason that in a very small screen it is better to
> show part of the dialog instead of showing it very compressed. (by
> setting the lower limit to 800x600)
> - It scales infinitely up, making some dialogs look dumb on very big
> monitors.
> 
> I think the algorithm can be improved.
> 
> Duncan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to