Open GoogleCodeExporter opened 9 years ago
Actually even though WIDGET_HBOX and WIDGET_VBOX are being created with a
spacing of 5 hardcoded, their parent class GtkBox has a spacing property and so
spacing="value" already works :)
Original comment by thunor...@hotmail.com
on 23 Jun 2011 at 10:33
Hmm, this then means that a WIDGET_HBOX and WIDGET_VBOX will always have a
spacing of 5 even if GtkBox spacing="0" and the user wants the same for the
GtkHbox and GtkVbox.
I've just tested this by hardcoding the spacing to 0 and things close up which
is useful, so I'll leave this open. To deal with this I'll have to make a
custom attribute whose name doesn't conflict with anything else. Maybe I should
investigate any other widgets with hardcoded spacing first before I come up
with a name.
Original comment by thunor...@hotmail.com
on 23 Jun 2011 at 10:59
I've just noticed that hboxes (and now vboxes) in create_button are hardcoding
spacing to 5.
Original comment by thunor...@hotmail.com
on 4 Jul 2011 at 5:03
The "spacing" property belongs to GtkBox and this appears to be the spacing
property within gtk_vbox_new(gboolean homogeneous, gint spacing), so regarding
these two widgets, there's nothing to do there.
I have just created a custom tag attribute "margin" to set the border_width
around the hbox, vbox and window containers and I saw that the frame widget's
border_width is being hardcoded to 5, but the frame doesn't accept tag
attributes and can't either because it uses all of the space within the tag for
the label!
Original comment by thunor...@hotmail.com
on 24 Jul 2011 at 8:19
Ah, hang on ;) automaton.c:3034 is creating a vbox with spacing 5, then setting
its border_width to 5, then packing all of the widgets inside it and then
placing the vbox inside the frame. Therefore the frame widget is a GtkFrame
containing a GtkVbox. Interesting.
Original comment by thunor...@hotmail.com
on 24 Jul 2011 at 10:02
"margin" is now deprecated as I've fixed the "border-width" bug and that now
works, so currently the only issue remaining here is the flawed frame widget.
Original comment by thunor...@hotmail.com
on 10 Aug 2011 at 9:59
I'm investigating the frame widget and writing the widget reference and I'd say
that a new hframe and vframe should be created to deal with the frame's design
flaws.
Original comment by thunor...@hotmail.com
on 5 Sep 2011 at 4:23
Original issue reported on code.google.com by
thunor...@hotmail.com
on 22 Jun 2011 at 9:14