Ignore:
Timestamp:
Jul 29, 2010, 3:51:24 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Fixed QFileDialog: Don't increase the item height in the side bar by increasing icon size as this causes ugly icon scaling; use the item size hint instead and make this increase dynamic (depending on the normal item height) [vendor bug].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/dialogs/qsidebar.cpp

    r651 r765  
    6666            option->state &= ~QStyle::State_Enabled;
    6767    }
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
    6881}
    6982
     
    375388{
    376389    // ### TODO make icon size dynamic
    377     setIconSize(QSize(24,24));
     390    //setIconSize(QSize(24,24));
     391    //setSpacing(4);
    378392    setUniformItemSizes(true);
    379393    urlModel = new QUrlModel(this);
Note: See TracChangeset for help on using the changeset viewer.