Yury Sidorov ha scritto:
From: "Mattias Gaertner" <[EMAIL PROTECTED]>
"Yury Sidorov" <[EMAIL PROTECTED]> wrote:
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
> On Sun, 12 Mar 2006, Yury Sidorov wrote:
>
>> > > - Different size of buttons. They must be the same size, except
>some > > > special cases where caption is long.
>> > I think this is not good practice. How do you decide when the
>> > caption
>
>> > is
>> > too > long seing the captions are translated too.
>>
>> I can say based on my experience only small number of buttons
need to
>be > wider
>> due to translated text size. I always use 75x23 px buttons if >>
possible.
>
>> 75x23
>> buttons is default in all MS programs.
>
> Most buttons in my programs need to be 100x25. Dutch texts tend to be
> longer.
>
> It's hard to make a 'beautiful' design; what's more, the rules
differ > on
>
> all
> platforms. Not to mention that it is very much a matter of taste.
>
> All you can hope for is that the design is consistent:
> i.e. the same design rules in all dialogs in a program.
I am trying to create such design rules :)
Speaking about button sizes I want to prevent the situation when every
button has different size.
For example OK button is 30px with and Cancel button is 60px with.
They must have the same width: 75px or 100px - it can be discussed. We
need to find some button width, which is good for every language in
most
cases. And use this width as default.
Yes, UI is matter of taste. But there will be no nice looking and
consistent UI without some documented UI guidelines.
We can set a minimum width of buttons.
OK. I think 90x25 will be good default/minimum button size.
Please test the following common button captions on your native language:
Cancel, Add, Insert, Default, Remove, Delete, Apply, Retry, Load, Save.
For russian and ukrainian 90x25 is good.
Please do not try to create unnecessary constraints: each field of
application has different requirements. Default size is not much
relevant, minimum size is a horrible constraint.
Default size: you may easily set all buttons to the same size in a form,
if you wish to do so, just by selecting all at the same time and setting
just once Width and Height as required. But there's no all-purpose
default size. You may have touch screen application, where button size
isn't related to the caption, but to finger size, plus calibration
drift. Or application where BitButtons are used with only the glyph and
no caption, etc, etc, Whichever default size you select, it's only good
for some fields of application. 75x25 is as good as any other choice.
Minimum size: it's senseless. See above. Why shoud I use a 90x25 button
just to show a "+" sign which doesn't get translated? It appears as ugly
as a button with a truncated caption!
The look of the form is Lazarus user responsibility, not Lazarus
responsibility. You may provide guidelines for inexperienced users,
tools to help reaching the result needed, but that's all. Once Qt
interface is operational, you may easily provide Style, which is much
more important to provide a better, user defined look.
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives