[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: RFC: boxes
From: Shaun McCance <shaunm () gnome ! org>
Date: 2011-11-16 19:09:14
Message-ID: 1321470554.8177.187.camel () recto
[Download RAW message or body]
On Wed, 2011-11-16 at 19:01 +0100, Benjamin Otte wrote:
> So, next idea. I'm pretty sure about this one actually and have talked
> to it with people on IRC a lot. Again I have no idea how it will look
> in detai, but I know I want to get there.
>
> This one is all about layouting complex widgets. It again has nothing
> to do with the public API or ABI of GTK and is all about structuring
> our internal code. Well, it is about theming.
>
> The thing you want to have read or at least have heard about are these 2:
> box model: http://www.w3.org/TR/CSS21/box.html
> visual formatting: http://www.w3.org/TR/CSS21/visuren.html
> In particular the first.
>
> If we want to allow people to really style widgets with CSS, the
> widgets need to behave like CSS boxes.
[snip]
> While we're at it, we also need to get rid of all the old style
> properties we had and make sure they can be sanely replaced by CSS we
> support.
Just a small bit of input: There's nothing in CSS like GtkBox::spacing.
I really wish there were. I can't tell you the number of times I've set
margin-top on children and overridden it on :first-child to accomplish
what GTK+ makes easy. Please let's not lose that.
--
Shaun
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic