|
|
| Author |
Message |
|
|
jamesinorlando
Joined: 25 Sep 2008 Posts: 2
|
Posted: Thu Sep 25, 2008 1:56 pm Post subject: Gtk::Table sizing difficulty |
|
|
I have a window containing a Gtk::Table with 2 columns and 3 rows layed out as follows:
____________________________________________
| Gtk::Frame | Gtk::Frame |
| | |
|_______________________|___________________ |
| |
| Gtk::TextView |
| |
|___________________________________________|
| |
| Gtk::HButtonBox |
| |
|___________________________________________|
When the window is resized I want the frames and buttons to remain static but the textview portion to be resized along with the window. At the moment, everything resizes together.
I've tried several different settings for packing and resizing options with no success. I may be better off to replace the table with a combination of Gtk::HBox and Gtk::VBox.
I'm open to suggestions
Thank you
James |
|
| Back to top |
|
 |
dreblen Never Seen the Sunlight
Joined: 14 Jun 2007 Posts: 534 Location: Falun, WI USA
|
Posted: Fri Sep 26, 2008 1:15 am Post subject: |
|
|
I think that the formatting of your diagram got messed up by the forum, so it's kind of hard to tell how things are set up.
If you can't get it to work how you want, I'd recommend packing a vbox and then packing successive widgets into the vbox |
|
| Back to top |
|
 |
jamesinorlando
Joined: 25 Sep 2008 Posts: 2
|
Posted: Fri Sep 26, 2008 12:31 pm Post subject: |
|
|
| Yes, the formatting got screwed up. It was a 3 row table with 2 frames in row 1, a Text View in row 2 and a HButtonBox in row three (with the possibility of more items added as I go along). |
|
| Back to top |
|
 |
dreblen Never Seen the Sunlight
Joined: 14 Jun 2007 Posts: 534 Location: Falun, WI USA
|
|
| Back to top |
|
 |
|