diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-12-22 07:48:50 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-12-22 08:21:58 +0000 |
commit | 951cf6baf0d34a104b01b42de1454696c51f7177 (patch) | |
tree | f7e1839f9d774236a7b6e78137fdb3d5967208e8 /src/quicktemplates2/qquickdrawer.cpp | |
parent | 54352f1721b7f2c29529341a0c955a387d6706d5 (diff) |
Material ToolButton: fix round ripple for square buttons
The condition for checking whether a tool button is square and thus,
whether it should use a round ripple instead of a fill ripple, must be
based on the size of the contents, not on the implicit size. This way,
you get a round ripple for one-letter tool buttons but only if they
are not stretched.
Task-number: QTBUG-65052
Change-Id: I0d498dc65650f3b786b41e538748549d61f2b216
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdrawer.cpp')
0 files changed, 0 insertions, 0 deletions