[maemo-developers] Black border/background around GtkButton
From: Claudio Saavedra csaavedra at igalia.comDate: Fri Oct 23 15:45:06 EEST 2009
- Previous message: Black border/background around GtkButton
- Next message: Extras Testing queue and number of days left (out of 10)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
El vie, 23-10-2009 a las 08:25 -0400, Anderson Lizardo escribió: > On Fri, Oct 23, 2009 at 6:52 AM, Andrew Flegg <andrew at bleb.org> 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
- Previous message: Black border/background around GtkButton
- Next message: Extras Testing queue and number of days left (out of 10)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]