Re: A proposal for units in GTK+



Matthias Clasen <maclas gmx de> writes:

> em is the width of a "quad" in the current font;
> ex is the "x-height" of the current font.
> 
> [...] It is generally best to use em for horizontal measurements and ex
> for vertical measurements that depend on the current font.
> 
> But that might be more relevant for typography than for UI design...

UI design has typographical aspects, I think. If units are added to
gtk+, I think having both ex and em is important, because an em may
not be suitable as a vertical unit if the the x-height of the font is
big.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]