diff options
| author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-10-18 16:35:16 +0300 |
|---|---|---|
| committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2018-06-08 12:35:15 +0000 |
| commit | 649490f359bc7308a0e21f0b38cf9b8a01e7b619 (patch) | |
| tree | 7335b3d8236424c4c5de2d810bf955a2b30ed0d3 /examples/opengl/qopenglwindow/main.cpp | |
| parent | 6c566e506b7316b3495fe73b5f7ee4dc8902c9d2 (diff) | |
Add itemAlignment property to QListView
This property allows to change the default behavior in
which list items occupy the entire width of their column.
Setting it to Qt::{AlignLeft,AlignRight,AlignHCenter} will
reduce their widths to the minimum values, thus allowing to
have intermediate free space. Then the user will be able to
begin selections by mouse from this space.
[ChangeLog][QtWidgets][QListView] Added itemAlignment property.
Task-number: QTBUG-56606
Change-Id: Iae55c251379be4e45d0c0d69175ff4388b5785b4
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/opengl/qopenglwindow/main.cpp')
0 files changed, 0 insertions, 0 deletions
