B.oualid
B.oualid

Reputation: 3

Pyside6 qt designer QpushButton icon align

I'm having a problem with aligning the icon inside the button in rtl layout

the layout is set to RTL i add this stylesheet

#side_bar QPushButton{
text-align: right;
}

without an icon the text-align in the right direction well But after adding an icon: the icon makes the extra space in the right direction instead of the left

enter image description here

This how it should look like enter image description here

Upvotes: 0

Views: 84

Answers (0)

Related Questions