diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-10-20 15:04:24 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-10-22 06:21:54 +0200 |
commit | ab556d6b321bb02cec2a0c0705b1212377fde095 (patch) | |
tree | ea6e45e58b3481e69f20a33b97a95b200b9bed2e /src/plugins/platforms/windows | |
parent | 1a097dc139d42f165af0c78ced0934b7e6747d9e (diff) |
Fix height of combo popup when the list view has non-zero spacing.
QListView::spacing() is the space around the item (layout margin),
so the effective spacing is twice as big.
This differs conceptionally from QTableView, which has a spacing of 1
and a line on top/bottom. Split up QComboBoxPrivateContainer::spacing()
into functions return spacing and top/bottom margins to reflect this.
Task-number: QTBUG-37865
Change-Id: I1ff812e7856e00a53f1119ef3304956cbb7cbfca
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows')
0 files changed, 0 insertions, 0 deletions