Re: padding cleanup

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

Shaun McCance

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