-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is no method in the A clear example of this is the screenshot in your post, where the button dimensions cannot be used for the label, since it should fit in the blue area, and not all the way to the grey edges. |
Beta Was this translation helpful? Give feedback.
-
close it (can be found also on the closed section) |
Beta Was this translation helpful? Give feedback.
There is no method in the
ui::Button
API to set the internal label toOverflow::SHRINK
. At the moment the only way to set it is viaLabel::getTitleRenderer()
, but that may not be enough either, depending on what kind of graphic is used. So, that means the label dimensions would also need to be set.A clear example of this is the screenshot in your post, where the button dimensions cannot be used for the label, since it should fit in the blue area, and not all the way to the grey edges.