mirror of https://github.com/buggins/dlangui.git
Merge pull request #132 from default0/master
Fix scrollbar of FileDialog not updating
This commit is contained in:
commit
952acd4fce
|
@ -227,6 +227,9 @@ class FileDialog : Dialog, CustomGridCellAdapter {
|
|||
_fileList.setCellText(2, i, toUTF32(sz));
|
||||
_fileList.setCellText(3, i, toUTF32(date));
|
||||
}
|
||||
if(_fileList.height > 0)
|
||||
_fileList.scrollTo(0, 0);
|
||||
|
||||
_fileList.autoFitColumnWidths();
|
||||
_fileList.fillColumnWidth(1);
|
||||
if (selectionIndex >= 0)
|
||||
|
|
Loading…
Reference in New Issue