Geore Shg
Geore Shg

Reputation: 1329

How to Align Text Along bottom of a Button and Icon above it?

I want to align text along the bottom of a button and an icon above it, like these buttons in Qt:

enter image description here

How do I do that? (Not using the \n character because that makes it look sloppy)

Upvotes: 1

Views: 882

Answers (1)

j_kubik
j_kubik

Reputation: 6181

Use a QToolButton and set toolButtonStyle property to ToolButtonTextUnderIcon

Upvotes: 2

Related Questions