aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/material
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Don't enable ASM languageJoerg Bornemann2025-05-021-1/+1
| | | | | | | | Remove the ASM language where no assembler files are used. Pick-to: 6.5 6.8 6.9 Change-Id: I3c94f798803b054a432fc2c8d6d65c665572a202 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Material: Fix FloatingPlaceholderText X positionBartlomiej Moskal2025-02-282-0/+40
| | | | | | | | | | | | | | | | | | | In cb7eb152204e206539f307a9556eea43c589f026, we stopped using the leftPadding value for FloatingPlaceholderText. As a result, the text is now misaligned with the placeholder. This commit restores the FloatingPlaceholderText X position to leftPadding. If leftPadding is not set, it defaults to Material.textFieldHorizontalPadding. To prevent regressions (such as QTBUG-120149), a new X position animation has been added to FloatingPlaceholderText. Fixes: QTBUG-133492 Pick-to: 6.9 6.8 Change-Id: I5c80dcedd7c2beec0891b524fc55388fa5456f2a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Material: fix floating placeholder text x positionMitch Curtis2024-03-072-0/+64
| | | | | | | | | | Don't set it to control.leftPadding, because we don't want it to change if the user changes leftPadding. Fixes: QTBUG-120149 Pick-to: 6.5 6.6 6.7 Change-Id: I67bbc22192fef386fe088398b67d3eb0a10421ba Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Correct license for test filesLucie Gérard2024-02-279-9/+9
| | | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Update manual tests and examples for change in default size policySanthosh Kumar2024-02-215-0/+19
| | | | | | | | | | | The size policy of item updated as part of task QTBUG-117597. This patch update existing examples and manual tests that depends on quick layout to embrace size policy change. Task-number: QTBUG-117597 Pick-to: 6.7 Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* Material: reduce padding for Dense variant of ButtonMitch Curtis2023-12-181-1/+7
| | | | | | | | | | | The padding was increased with the Material 3 update (f47f8d69319fa7b0b71cc8036c5bdfd1e8407e70), but the Dense variant never had an effect on the values. This patch changes that. Fixes: QTBUG-119793 Pick-to: 6.5 6.6 6.7 Change-Id: Ic37bb7861fe5e3f3dc9e97fe4ee7369b487f89df Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Material: fix placeholder text alignmentMitch Curtis2023-05-031-14/+48
| | | | | | | | | | The placeholder text should always be aligned to the left according to my tests on native Android via an emulator. Fixes: QTBUG-113172 Pick-to: 6.5 6.5.1 Change-Id: I75ae31e1e6b9846d90ab5034c43f8684698e0ab7 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Material: fix TextArea decorations when in a FlickableMitch Curtis2023-04-191-0/+12
| | | | | | | | | | | | | | | | This patch fixes the following issues when the Material TextArea is attached to a Flickable: - Floating placeholder text scrolls with the Flickable. - When text is cleared without the control having focus: - Floating placeholder text is positioned incorrectly. - The floating text background outline gap is still open. - The background outline color is incorrect when the control has focus (used primaryTextColor instead of accentColor). Pick-to: 6.5 Task-number: QTBUG-112650 Change-Id: Icfa3517e4abcb1209ea2291dabdec225011f19ef Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Update Material TextArea to Material 3Mitch Curtis2023-02-213-1/+118
| | | | | | | | Fixes: QTBUG-110231 Pick-to: 6.5 Change-Id: I8b6e5a2bc8e91c7003206e8a651b133f3a541617 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Update Material TextField to Material 3Mitch Curtis2023-02-173-1/+88
| | | | | | | | Fixes: QTBUG-72554 Fixes: QTBUG-109218 Pick-to: 6.5 Change-Id: I0bc6fc3d16630352dcd5c58c5dd2b1bf794741c5 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Update Material Switch to Material 3Mitch Curtis2022-12-123-1/+77
| | | | | | Fixes: QTBUG-108555 Change-Id: I6c17812c9cf0dab71ac212ab7cb28cad646f9dfc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Move manual test for material stylewip/material3Paul Wicking2022-12-078-0/+496
After the renaming, tests/manual/quickcontrols2 is now tests/manual/quickcontrols. Change-Id: I95b34c68b6e684052e98a4bf0561beb9c9750efe Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>