]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
- few bugfixes to the CListBox
authorkatzj <katzj>
Fri, 8 Jun 2001 21:48:05 +0000 (21:48 +0000)
committerkatzj <katzj>
Fri, 8 Jun 2001 21:48:05 +0000 (21:48 +0000)
newt.spec
snack.py

index af7736ea1c40a42f26ad52e5efee157968a4b3a2..812d7e685db59aa79023eda588ea50a0301f644d 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -1,6 +1,6 @@
 Summary: A development library for text mode user interfaces.
 Name: newt
-%define version 0.50.25
+%define version 0.50.26
 Version: %{version}
 Release: 1
 Copyright: LGPL
@@ -105,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
+- few bugfixes to the CListBox
+
 * Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
 - added python binding for newtListboxClear() for Listbox and CListBox
 - let ButtonBars optionally be made of CompactButtons
index 7711af192cb5652d5b25925ea01c78be552d485f..44661bf00ec71d1b2a21d84b966bd9e78cbe72a3 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -603,11 +603,11 @@ class CListBox(Grid):
                        lstr = self.colFormText(col_labels, col_label_align)
                        self.label = Label(lstr)
 
-                       self.setField(self.label, 0, 0)
+                       self.setField(self.label, 0, 0, anchorLeft=1)
 
                else:
                        Grid.__init__(self, 1, 1)
-                       box_y = 1
+                       box_y = 0
                        
 
                self.listbox = Listbox(height, scroll, returnExit, width)