--- a/tuikit/combobox.py Mon Feb 20 18:15:13 2012 +0100
+++ b/tuikit/combobox.py Thu Dec 13 10:01:32 2012 +0100
@@ -10,22 +10,24 @@
def __init__(self, width=15, value='', items=[]):
Container.__init__(self, width, 1)
+ self.colorprefix = 'combo:'
+
self._edit = EditField(width - 3, value)
self.add(self._edit)
self._btn = Button('v')
+ self._btn.prefix = ''
+ self._btn.suffix = ''
self._btn.x = width - 3
self._btn.width = 3
self._btn.connect('click', self._on_btn_click)
- self.add(self._edit)
+ self.add(self._btn)
self._menu = Menu(items)
self._menu.hide()
self._menu.allowlayout = False
-# self.top.add(self._menu)
-
+ #self.top.add(self._menu)
def _on_btn_click(self):
pass
-
-
+