Re: [Usability] GtkEntry with units



On Jan 23, 2007, at 12:19 AM, Robert Staudinger wrote:

On 1/22/07, Matthew Paul Thomas <mpt myrealbox com> wrote:
On Jan 22, 2007, at 8:03 PM, Robert Staudinger wrote:
...
------------------------- --------
|123                     | cm <> |
------------------------- --------
...
If the field is really that wide, there is something wrong with the
window layout. The width of fields should be at least roughly
proportionate to the length of the data people are likely to enter in
them (though it's best to avoid using more than two or three lengths in a single window).

Unfortunately it isn't always that easy. Even the HIG's own examples
come with wide GtkEntry and combo-box/option-menu widgets:
http://developer.gnome.org/projects/gup/hig/2.0/design-window.html

That's because they're quite likely to contain long strings. Nothing wrong with that.

That should of course not be an excuse whatsoever, just some support
for the argument that widget size cannot always easily be constrained.
...

Setting the width of controls is one of the few things that *is* easy in Glade.

Cheers
--
Matthew Paul Thomas
http://mpt.net.nz/




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