changeset 119 | dd91747504dd |
parent 113 | 6796adfdc7eb |
--- a/tuikit/widgets/textfield.py Sat Feb 21 12:01:57 2015 +0100 +++ b/tuikit/widgets/textfield.py Sun Feb 22 09:53:13 2015 +0100 @@ -30,7 +30,7 @@ self.ofs = self.curspos - self.tw def draw(self, buffer): - color = self.theme.active if self.has_focus() else self.theme.normal + color = self.theme.clr_active if self.has_focus() else self.theme.clr_normal with buffer.attr(color): # draw value val = self.value + ' ' * self.tw # add spaces to fill rest of field