From: crutcher Date: Wed, 8 Aug 2001 21:13:08 +0000 (+0000) Subject: anchorRight internal Listboxes in CListboxes X-Git-Tag: r0-50-31~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9369c60ce9971b60d78defd8b78b29ac0faa648;p=thirdparty%2Fnewt.git anchorRight internal Listboxes in CListboxes --- diff --git a/configure.in b/configure.in index 89255e7..fcc1dc2 100644 --- a/configure.in +++ b/configure.in @@ -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) diff --git a/newt.spec b/newt.spec index 0a35723..e3b7533 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.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 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 - 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 -- 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 - few bugfixes to the CListBox diff --git a/snack.py b/snack.py index cfebde4..eda3303 100644 --- 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