El vie, 23-10-2009 a las 08:25 -0400, Anderson Lizardo escribió: > On Fri, Oct 23, 2009 at 6:52 AM, Andrew Flegg <[email protected]> wrote: > > Hi, > > > > If you look at this screenshot, you'll see there are black borders > > around the GtkButtons: > > > > http://twitpic.com/mknhl > > > > This is just two GtkButtons in a GtkHButtonBox in a GtkAlignment in a > > GtkWindow (which has had gdk_window_set_back_pixmap called on it). > > > > Is there a way of getting rid of these backgrounds/borders? > > I've seen that on Scratchbox + Xephyr, but I thought it was just some > drawing issue with Xephyr. Does it happen on a N900 too? > > Anyway, I'll let the GTK+ experts answer you (I'm interested in the > answer as well).
This was a design decision from the UI design team [1], and it's implemented at the theme level (by drawing these borders inside the actual GtkButton and other widgets). There's nothing you can do to get rid of these margins. Rationale is that doing it this way, UI team could make sure that all apps "get the padding right". There's a bug about the lack of proper documentation of this in bugs.maemo.org (https://bugs.maemo.org/show_bug.cgi?id=5458). Claudio [1] That I opposed to back in the days, fwiw _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
