diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-10-28 13:56:17 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-01 20:52:44 +0000 |
commit | 1864020f5f3387b6c3fe0baf7ed82c9f8595f584 (patch) | |
tree | 00193cbb1c5e8f2fd743b60cd08e06f4c6ed3c3f /tests/auto | |
parent | f7fd7460231ea9ad80fc85b4af793ad7ace56930 (diff) |
ComboBox: prepare the internal layouts for editable combos
The text field of an editable ComboBox must cover the whole control
excluding the indicator button. This ensures that user interaction
works as expected over the whole editor area (there must be no "dead"
paddings), and that the whole editor area gets the appropriate caret
or ibeam mouse cursor.
Previously, the indicator was laid out inside/over the content item.
To help with getting the layout right, this change injects empty
padding into the indicator images of the Universal and Material styles
(the Default style already had padding).
Task-number: QTBUG-53876
Change-Id: I62e10ffb7f5ed4559523513f04ff7e2ea0e57ef5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions