Put some border around the combo
This commit is contained in:
parent
f5bb269849
commit
5cf263537f
@ -18,11 +18,14 @@
|
|||||||
import gtk
|
import gtk
|
||||||
|
|
||||||
from sugar.graphics.combobox import ComboBox
|
from sugar.graphics.combobox import ComboBox
|
||||||
|
from sugar.graphics import units
|
||||||
|
|
||||||
class ToolComboBox(gtk.ToolItem):
|
class ToolComboBox(gtk.ToolItem):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
gtk.ToolItem.__init__(self)
|
gtk.ToolItem.__init__(self)
|
||||||
|
|
||||||
|
self.set_border_width(units.microgrid_to_pixels(1))
|
||||||
|
|
||||||
self.combo = ComboBox()
|
self.combo = ComboBox()
|
||||||
self.add(self.combo)
|
self.add(self.combo)
|
||||||
self.combo.show()
|
self.combo.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user