Re: GUI construction tips



It's easy enough to add padding space when packing your label into the
box like so:
gtk_box_pack_start(GTK_BOX(box), label, FALSE, FALSE, padding)

I get the impression however that you are using Glade.. I don't use
glade myself but it should be perfectly possible to specify the padding
space somewhere in the widget properties editor.

Hope this helps..

- Daniel Pekelharing

On Tue, 2006-03-21 at 12:13 +0100, Fernando ApesteguÃa wrote:
Hi,

I'm creating a GUI with Gtk. I'm using VBoxes and HBoxes, so my app resizes
when dpi changes and so on.
But I don't like the look of some aspects. For example, If I have a Hbox
with two columns and I place two label (one in each column)
the label is so close to the window border. So I place additional columns
with a label beside the border. The label text is only a space. The effect
is that
I have now my other labels not close to the border, and it looks nice.

But I think this is not the way to manage this.... in fact I think this is a
bad workaround. I didn't see any  "separator widget".
How can I do this?

Best regards!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]