Comments (7)
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 [email protected]
on 23 Jun 2011 at 10:33
- Changed state: Done
from gtkdialog.
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 [email protected]
on 23 Jun 2011 at 10:59
- Changed state: New
from gtkdialog.
I've just noticed that hboxes (and now vboxes) in create_button are hardcoding
spacing to 5.
Original comment by [email protected]
on 4 Jul 2011 at 5:03
from gtkdialog.
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 [email protected]
on 24 Jul 2011 at 8:19
from gtkdialog.
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 [email protected]
on 24 Jul 2011 at 10:02
from gtkdialog.
"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 [email protected]
on 10 Aug 2011 at 9:59
from gtkdialog.
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 [email protected]
on 5 Sep 2011 at 4:23
from gtkdialog.
Related Issues (20)
- Initially hidden widgets can leave artifacts depending on widget HOT 1
- Connect-up button-press and button-release to the comboboxentry entry child widget HOT 1
- Save tree widget data complete rather than just the exported column HOT 2
- Save selection on TREE widget HOT 4
- Progress bar pulse function HOT 2
- Tree selected-row(s) tag HOT 1
- Using arbitrary images on trees
- Change variable from shell
- String length of input file in tree widget
- stock icons with ltr and rtl versions do not work correctly in the window tag
- treeview should not temper data when saving
- variable in edit display HOT 2
- threading
- splitter like feature
- Option to set the GTK floating hint on dialog HOT 1
- Clearify the meaning of function in widget reference
- Attempt to unlock mutex that was not locked HOT 6
- Installing gtkdialog on Solaris 10
- Can this project be compiled with gtk3?
- How can I purge a broken install from Ubuntu 14.04 64bit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtkdialog.