Re: bar with label and two buttons
- From: rastersoft <raster rastersoft com>
- To: gtk-app-devel-list gnome org
- Subject: Re: bar with label and two buttons
- Date: Mon, 31 Dec 2012 11:44:35 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes! That's exactly what I wanted. Thank you!
El 30/12/12 00:51, Lance Dillon escribió:
----- 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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
- --
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDhbI0ACgkQXEZvyfy1ha/nvwCgjl1IZqGzoFL1Gtqswi563LR8
XuoAniOiZ4yQ6eRXEq5k3EWqC+ieIRWy
=hGhU
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]