mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 22:02:51 -06:00
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:
parent
c5469093ee
commit
6eb275ff1f
1 changed files with 2 additions and 2 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue