fix file dialog file and folder icons - close #326

This commit is contained in:
Vadim Lopatin 2017-06-07 10:56:07 +03:00
parent bc96a55e48
commit 60ea89fb45
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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"