if (li->sb)
li->sb->ops->place(li->sb, co->left + co->width - li->bdxAdjust - 1,
- co->top);
+ co->top + li->bdyAdjust);
}
newtComponent newtListbox(int left, int top, int height, int flags) {
co->width = width;
li->curWidth = co->width - li->sbAdjust - 2 * li->bdxAdjust;
li->userHasSetWidth = 1;
- if (li->sb) li->sb->left = co->width + co->left - 1;
+ if (li->sb)
+ li->sb->left = co->left + co->width - li->bdxAdjust - 1;
listboxDraw(co);
}
%{_libdir}/libnewt.a
%changelog
+- fix scrollbar positioning in listbox
- cope with backward system time jumps (#240691)
- free helplines and windows in newtFinished, check for overflow (#239992)
- add release to -devel and -static requires (#238784)