CtrlLib: Fixed issue with filelist itemheight #1253

git-svn-id: svn://ultimatepp.org/upp/trunk@8884 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-08-31 19:36:49 +00:00
parent 9093b8a065
commit 851c2f98ef
2 changed files with 2 additions and 2 deletions

View file

@ -1053,7 +1053,7 @@ ColumnList::ColumnList() {
clickkill = false;
ncl = 1;
cx = 50;
cy = Draw::GetStdFontCy();
cy = max(DPI(18), Draw::GetStdFontCy());
cursor = -1;
ListMode();
AddFrame(sb);

View file

@ -370,7 +370,7 @@ void FileList::Sort(const Order& order)
FileList::FileList() {
iconwidth = Zx(16);
ItemHeight(max(Draw::GetStdFontCy(), 16));
ItemHeight(max(Draw::GetStdFontCy(), DPI(18)));
Ctrl::Add(edit);
edit.Hide();
edit.SetFrame(BlackFrame());