How to center vbox inside full screen window
- From: Christian Smith <Christian Smith Sun COM>
- To: gtk-app-devel-list gnome org
- Subject: How to center vbox inside full screen window
- Date: Sat, 30 Aug 2008 14:27:27 +0100
Hi All,
I have a very simple GTK program (in C) that creates a full screen
window. Inside the full screen window I am placing a vbox with two
elements inside: and image and a label.
For the life of me I cannot figure out how to get the contents of the
vbox to be packed together. I.e. I want the image + label touching each
other and centered on the screen. Currently the height of the vbox
seems to fill the height of the screen with the image and label
distributed inside (and not touching).
Any help is appreciated!
Thanks,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]