[Lazarus] GTK2 changed to single-handle-per-form design

Henry Vermaak henry.vermaak at gmail.com
Wed Dec 16 02:24:54 CET 2009


2009/12/15 waldo kitty <wkitty42 at windstream.net>:
> Henry Vermaak wrote:
>>
>> Gtk says that if widgets need to have hard clipping, they should
>> create their own window.  This causes performance issues, though, by
>> increasing communication with the x server.
>>
>> But this is really a non-issue.  I'd argue that clipping is almost
>> always bad.  What use is something if you can't see it?
>
> by the same token, what use is something if you can't read it because some
> other things have stomped all over each others and piled up in an unreadable
> mess?

Equally bad, I'd say.  What do you think?  Comes down to the same
thing, though:  bad design.

>
>> I've just
>> gone through most of the ubuntu preferences dialogs and not one of
>> them clips anything.  What's more is that they react to font sizes,
>> theme changes and translation correctly.
>
> so all the buttons change their sizes when the font is increased or
> decreased? how about the entire pane they are in? does it also expand and
> contract based on the font size? ;)

Yes.  What do you expect, to clip the buttons after they've expanded?
At some stage it will obviously become too large for the window, in
which case you will have to resize the window or buy a larger monitor.

Henry




More information about the Lazarus mailing list