mirror of https://github.com/buggins/dlangui.git
fix file dialog file and folder icons - close #326
This commit is contained in:
parent
bc96a55e48
commit
60ea89fb45
|
@ -324,7 +324,7 @@ class FileDialog : Dialog, CustomGridCellAdapter {
|
||||||
|
|
||||||
void autofitGrid() {
|
void autofitGrid() {
|
||||||
_fileList.autoFitColumnWidths();
|
_fileList.autoFitColumnWidths();
|
||||||
_fileList.setColWidth(1, 0);
|
//_fileList.setColWidth(1, 0);
|
||||||
_fileList.fillColumnWidth(1);
|
_fileList.fillColumnWidth(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -363,6 +363,8 @@ class FileDialog : Dialog, CustomGridCellAdapter {
|
||||||
sz.y = fnt.height;
|
sz.y = fnt.height;
|
||||||
return sz;
|
return sz;
|
||||||
}
|
}
|
||||||
|
if (BACKEND_CONSOLE)
|
||||||
|
return Point(0, 0);
|
||||||
DrawableRef icon = rowIcon(row);
|
DrawableRef icon = rowIcon(row);
|
||||||
if (icon.isNull)
|
if (icon.isNull)
|
||||||
return Point(0, 0);
|
return Point(0, 0);
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<color id="grid_cell_border_color_header" value="#C0202020"/>
|
<color id="grid_cell_border_color_header" value="#C0202020"/>
|
||||||
<color id="grid_cell_background_header" value="#C0909090"/>
|
<color id="grid_cell_background_header" value="#C0909090"/>
|
||||||
<color id="grid_cell_background_header_selected" value="#80FFC040"/>
|
<color id="grid_cell_background_header_selected" value="#80FFC040"/>
|
||||||
<color id="file_dialog_dir_name_color" value="#808000"/>
|
<color id="file_dialog_dir_name_color" value="#000080"/>
|
||||||
|
|
||||||
<style id="BUTTON"
|
<style id="BUTTON"
|
||||||
backgroundImageId="btn_background"
|
backgroundImageId="btn_background"
|
||||||
|
|
Loading…
Reference in New Issue