[ruby][gtk2] Style Property - How to change?
Posted by Robux Biz (robux) on 05.06.2010 19:39
Hi everybody! I can see style property: btn = Gtk::Button.new puts btn.style_get_property('image-spacing') # "2" But how can I change the value to "0"? |
I did that:
Code:
class ClsBtn < Gtk::Button but border around image is still big (not equals 0) How can I to decrease the button? (The button is needed for Notebook tabs) |
I did that:
Code:
style = closebtn.modifier_style |
I find solution in Geany source code:
Code:
label_box = Gtk::HBox.new(false, 0) |
All times are GMT -5. The time now is 05:16 AM. |