diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-04-24 20:31:13 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-04-26 16:37:21 +0000 |
commit | b2a282d7c7b8f49819bbc86ed705980438ecb04b (patch) | |
tree | d0da997a696f8d15f3b646c409500b63eb7b7aa6 /src/plugins/platforms/cocoa/qcocoamenuloader.mm | |
parent | fcc94b1442ce910231a4267bd56822d616984683 (diff) |
QToolButton: Elide text when constraints prevent from showing whole text
When a QToolButton has a fixed width and the text is too long, the text
was cropped which made the button look ugly.
Fix it by eliding the text in the middle in this case.
Task-number: QTBUG-64132
Change-Id: I7bc46d1edcf4e67b5e1a5b651d4793f9ffa15310
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoamenuloader.mm')
0 files changed, 0 insertions, 0 deletions