Re: bar with label and two buttons







----- Original Message -----
From: rastersoft <raster rastersoft com>
To: GTK App Devel <gtk-app-devel-list gnome org>
Cc: 
Sent: Saturday, December 29, 2012 6:31 PM
Subject: bar with label and two buttons


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all:

I want to create a bar with two buttons and a label between, but I want
that both buttons have exactly the same width, no matter if one has a
large text and the other a shorter one. But also I don't want to fixate
the width, like using a grid would mandate, but want that the width will
be the minimum needed by the bigger button (I don't want to have
problems if a translation results in a very long text). Finally, the
label must be between both buttons, expanded, using the maximum
available space.

I created a picture with the idea, which is here:
http://picpaste.com/buttons.png

How can I do that?

Thanks.

- -- 
Nos leemos
                 RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com


I think this might be what you want: http://developer.gnome.org/gtk3/stable/GtkSizeGroup.html



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