2) fixed growing listboxes
COLORSET_ACTLISTBOX);
li->sbAdjust = 3;
}
+ co->height = height;
} else {
li->grow = 1;
sb = NULL;
+ co->height = 2 * li->bdyAdjust;
}
li->sb = sb;
co->isMapped = 0;
co->left = left;
co->top = top;
- co->height = height;
co->ops = &listboxOps;
co->takesFocus = 1;
co->callback = NULL;
updateWidth(co, li, 5);
- li->curHeight = height - (2 * li->bdyAdjust);
+ li->curHeight = co->height - (2 * li->bdyAdjust);
return co;
}
item->isSelected = 0;
if (li->grow)
- co->height++;
+ co->height++, li->curHeight++;
li->numItems++;
return li->numItems;
Release: 1
Copyright: LGPL
Group: Libraries
-Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-0.9.tar.gz
+Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-0.11.tar.gz
Requires: slang
%package devel
Summary: Developer's toolkit for newt windowing library