Button with text bellow icon
Posted
by Umesha MS
on Stack Overflow
See other posts from Stack Overflow
or by Umesha MS
Published on 2010-05-17T11:36:49Z
Indexed on
2010/05/17
11:40 UTC
Read the original article
Hit count: 172
qt
Hi, I am very new to QT UI development.
I need to create a button with text should be below the icon. There is no option to set this property to the QPushButton.
When I tried to search in the net, they told me to use QToolButton. When I used the QToolButton I could set the Qt::ToolButtonTextUnderIcon. But I couldn’t find a way to change the dimension i.e. Width, height, x and y position.
Please help me to display a icon with text should be bellow the icon.
© Stack Overflow or respective owner