Size the toolbox to 1 grid cell
This commit is contained in:
parent
b958a515d5
commit
6c671fb7fe
@ -52,6 +52,7 @@ class Toolbox(gtk.VBox):
|
|||||||
|
|
||||||
toolbar_box = gtk.HBox()
|
toolbar_box = gtk.HBox()
|
||||||
toolbar_box.pack_start(toolbar, True, True, units.grid_to_pixels(1))
|
toolbar_box.pack_start(toolbar, True, True, units.grid_to_pixels(1))
|
||||||
|
toolbar_box.set_size_request(-1, units.grid_to_pixels(1))
|
||||||
toolbar_box.connect('expose-event', self._toolbar_box_expose_cb)
|
toolbar_box.connect('expose-event', self._toolbar_box_expose_cb)
|
||||||
|
|
||||||
self._notebook.append_page(toolbar_box, label)
|
self._notebook.append_page(toolbar_box, label)
|
||||||
|
Loading…
Reference in New Issue
Block a user