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) ras...@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/ iEYEARECAAYFAlDffTwACgkQXEZvyfy1ha+jsQCgxDHu2vSSK/hTsyDngUtQ3KY8 01cAoN1j24LLlskD8J5cIdV9meG76kNJ =kYq1 -END PGP SIGNATURE- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: bar with label and two buttons
- Original Message - > From: rastersoft > To: GTK App Devel > 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) > ras...@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
Re: bar with label and two buttons
-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 >> To: GTK App Devel >> 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) >> ras...@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) ras...@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- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list