]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
anchorRight internal Listboxes in CListboxes
authorcrutcher <crutcher>
Wed, 8 Aug 2001 21:13:08 +0000 (21:13 +0000)
committercrutcher <crutcher>
Wed, 8 Aug 2001 21:13:08 +0000 (21:13 +0000)
configure.in
newt.spec
snack.py

index 89255e74a22995574d8d28ba815157145504f3e9..fcc1dc28b43f4a44fa7a1710713255f007537bef 100644 (file)
@@ -5,7 +5,7 @@ AC_CONFIG_HEADER(config.h)
 
 VERSION=$(awk '/^%define version/ {print $3}' newt.spec)
 
-VERSION=0.50.30
+VERSION=0.50.31
 SONAME=0.50
 AC_SUBST(VERSION)
 AC_SUBST(SONAME)
index 0a3572372510996418e151c2ae46f2948d6775a5..e3b75336425dbf3ca7aacc96a5d263bb728b6e79 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.30
+%define version 0.50.31
 Version: %{version}
 Release: 1
 Copyright: LGPL
@@ -105,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Aug  8 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.50.31-1
+- right anchor the internal Listbox of CListboxes, so that empty
+- scrollable CListboxes do not look like crape.
+
 * Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
 - padded hidden checkboxes on CheckboxTrees
 
@@ -115,8 +119,8 @@ rm -rf $RPM_BUILD_ROOT
 - added 'hide_checkbox' and 'unselectable' options to CheckboxTrees
 
 * Mon Jun 25 2001 Jeremy Katz <katzj@redhat.com>
-- ClistBox -> Clistbox for API consistency
-- fixup replace() method of Clistbox
+- CListBox -> CListbox for API consistency
+- fixup replace() method of CListbox
 
 * Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
 - few bugfixes to the CListBox
index cfebde4ebfdba72419f20c45531e1fdf04c0c960..eda33037251ed26213811603fe8802728324b73d 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -616,7 +616,7 @@ class CListbox(Grid):
                        
 
                self.listbox = Listbox(height, scroll, returnExit, width)
-               self.setField(self.listbox, 0, box_y)
+               self.setField(self.listbox, 0, box_y, anchorRight=1)
 
        def colFormText(self, col_text, align = None):
                i = 0