[maemo-developers] Problems with larger buttons in HButtonBox

From: Marius Gedminas marius at pov.lt
Date: Fri Jun 6 15:09:43 EEST 2008
On Fri, Jun 06, 2008 at 07:55:14AM -0400, James Ferris wrote:
> I'm quite new to this, and while I've managed to navigate installation,
> basic application building and using Glade to produce interface xml,
> I've run into a hitch.
> 
> I have a horizontal button box that requests a size of 150x150 for it's
> children, and the buttons themselves are set to expand (and to try it,
> even set a request of 150x150 for each button) which shows up fine in
> Glade, but when I run it in the emulator, each button area is the full
> 150 by 150 pixels, but the button appearance is that of three and a bit
> buttons stacked on top of each other like bricks. 
> They expand to fill the 150 width, but not the height. Instead, they
> repeat to fill the height.

Screenshot?

I've seen something like this on osso-xterm with the vertical toolbar.
Large toolbar buttons were drawn "stacked", because the theme assumes a
fixed button height.

> If I throw one button into the vbox, it will expand to fill the whole
> space, but not when I put it into a hbuttonbox inside the vbox.
> 
> have tried this from Glade's xml, and from direct coding, and it doesn't
> seem to work for me either way.

Marius Gedminas
-- 
This host is a black hole at HTTP wavelengths. GETs go in, and nothing
comes out, not even Hawking radiation.
                -- Graaagh the Mighty on rec.games.roguelike.angband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080606/1fb40aef/attachment.pgp 
More information about the maemo-developers mailing list