From: katzj Date: Fri, 8 Jun 2001 21:48:05 +0000 (+0000) Subject: - few bugfixes to the CListBox X-Git-Tag: r0-50-26~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee3c3cb18f6398abee42d67400d1b2da924898bb;p=thirdparty%2Fnewt.git - few bugfixes to the CListBox --- diff --git a/newt.spec b/newt.spec index af7736e..812d7e6 100644 --- 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 +- few bugfixes to the CListBox + * Fri Jun 8 2001 Jeremy Katz - added python binding for newtListboxClear() for Listbox and CListBox - let ButtonBars optionally be made of CompactButtons diff --git a/snack.py b/snack.py index 7711af1..44661bf 100644 --- 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)