CtrlLib: ColumnList::ItemWidth/Height now updates scrollbar

git-svn-id: svn://ultimatepp.org/upp/trunk@6234 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-08-06 21:45:35 +00:00
parent c5469093ee
commit 6eb275ff1f

View file

@ -183,9 +183,9 @@ public:
ColumnList& ColumnMode() { return Mode(MODE_COLUMN); }
ColumnList& Columns(int _n) { ncl = _n; Refresh(); return *this; }
int GetColumns() const { return ncl; }
ColumnList& ItemHeight(int _cy) { cy = _cy; RefreshLayout(); Refresh(); return *this; }
ColumnList& ItemHeight(int _cy) { cy = _cy; RefreshLayout(); SetSb(); Refresh(); return *this; }
int GetItemHeight() const { return cy; }
ColumnList& ItemWidth(int _cx) { cx = _cx; RefreshLayout(); Refresh(); return *this; }
ColumnList& ItemWidth(int _cx) { cx = _cx; RefreshLayout(); SetSb(); Refresh(); return *this; }
int GetItemWidth() const { return cx; }
ColumnList& RoundSize(bool b = true);
ColumnList& NoRoundSize() { return RoundSize(false); }