Re: widget size independant to screen resolution

"Jacob O'Reilly" <[email protected]> Sun, 10 Oct 2004 10:21:14 -0300
Newsgroups gmane.comp.graphics.y.devel
Message-ID <000a01c4aecc$0482d120$6700a8c0@JIMMY>
Sounds much like the scaling in .NET's Windows Forms.  Your widgets grow 
proportionately to the Windows font size setting (e.g. Large Fonts or 
arbitrary user preference.)  Works especially well when you use the layout 
mechnisms like anchoring and docking.

----- Original Message ----- 
From: "Matthew A. Nicholson" <[email protected]>
To: "Dimitrios Apostolou" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, October 10, 2004 4:41 AM
Subject: Re: [Y-devel] widget size independant to screen resolution


>I like this idea very much.  Of course it still may be necessary to specify 
>a more fixed size or over ride this type of positioning/sizing.
>
> Dimitrios Apostolou wrote:
>> Hello list,
>>
>> sorry to break radio silence :-), I hope Y wakes up some time soon.
>>
>> The reason I'm writing is to express my desire for all graphical 
>> environments. Unfortunately this feature is not fully implemented 
>> anywhere (to my knowledge) but I'd love to see it in the window server of 
>> the future ;-).
>>
>> In a few words what I want is that widget size should be independant to 
>> screen resolution.
>>     Actually, by saying widget I mean everything drawn on screen: menus, 
>> buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., 
>> even common text.
>>     And by saying independant to screen resolution I certainly don't 
>> expect everything to have the same size in every screen at every 
>> resolution. What I consider fairly easy is drawing everything like now, 
>> with default size, but giving the user an option using a slider to change 
>> the "widget size". When changing this variable everything mentioned 
>> before should change size alltogether.
>>
>> As for the implementation, the general idea is to multiply the dimensions 
>> of everything drawn on screen (e.g. font size) with a float variable, 
>> initially set to 1 and changed with the previous slider. There is a 
>> problem with the graphics inside widgets, but can be solved either using 
>> exlusively scalable graphics, or bitmaps properly resized.
>>
>> The usefulness is obvious to whoever hates giantic widgets (desktops like 
>> kindergarden :-) ) and is stuck with a low-res TFT.
>>
>>
>> I see this as an opportunity to creative discussion so please comment on 
>> my idea while waiting the new Y to erupt...
>>
>> Thank you,
>> Dimitris
>>
>>
>
>
> -- 
> Matthew A. Nicholson
> Matt-land.com
>
>