RE: proportioned window
- From: "Aaron Geier" <ageier catalystmicro com>
- To: "Luca Guglielmetti" <luca guglielmetti gmail com>
- Cc: gtkmm-list gnome org
- Subject: RE: proportioned window
- Date: Tue, 18 Sep 2007 06:01:48 -0600
Hello,
One thing you may try doing is adding what I call a spacer. You do this
by packing a Gtk::Alignment object [1].
Then you do a alignment_widget.set_size_request(width, height).
If you do this, you'll put an invisible object with height and width and
that should bump up your hseparator.
[1]
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Alig
nment.html
Regards,
Aaron Geier
-----Original Message-----
From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org]
On Behalf Of Luca Guglielmetti
Sent: Tuesday, September 18, 2007 4:04 AM
To: gtkmm-list
Subject: proportioned window
Hi,
I'm trying to write a small GUI with one Dialog window and lot of HBox
and VBox, but I still have problems to get a good-loking
and proportionated window.
This [1] is my current GUI, but I would like to put more space between
the Bottons and the HSeparator; something like this [2].
Best regards
Guglie
[1] http://n.ethz.ch/student/lucagu/pub/img/window_gtkmm.png
[2] http://n.ethz.ch/student/lucagu/pub/img/window_glade.png
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]