Re: padding cleanup
- From: Shaun McCance <shaunm gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: padding cleanup
- Date: Wed, 01 Sep 2010 12:24:02 -0400
On Sun, 2010-08-29 at 19:02 -0400, Havoc Pennington wrote:
> Hi,
> 
> Matthias's mention of padding props got me thinking about how this
> could be mopped up (based shamelessly on what we did in HippoCanvas
> and then BigBox)
> 
> I'm attaching a patch that I haven't even tried to compile (my jhbuild
> setup is kinda hosed, don't ask) illustrating what I might like to see
> if starting from scratch.
> 
> In brief it adds to GtkWidget:
> 
>   h-align, v-align = FILL, CENTER, START, END
>   padding-left,padding-right,padding-top, padding-bottom = int16
Would it be better to have padding-start and padding-end,
rather than -left and -right, and have it do the right
thing in RTL locales? I've often wished CSS did it that
way, and GTK+ does do most things with start and end
already.
-- 
Shaun McCance
http://syllogist.net/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]