Left Align Text on Push Button

Find and share HowTos to various installations / configurations!
13 posts • Page 2 of 2
adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Left Align Text on Push Button

Post by adaneau »

Attachments
cssdemo.pnl
(1.18 KiB) Downloaded 203 times

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Left Align Text on Push Button

Post by adaneau »

Attachments
stylesheet.txt
(145 Bytes) Downloaded 187 times

Gr1mst4r
Posts:11
Joined: Thu Apr 19, 2018 2:54 pm

Re: Left Align Text on Push Button

Post by Gr1mst4r »

Hi Guys,

Just like to thank everyone for their inpu, I finally got it going by copying the existing NavButton and renaming it to MenuButton and set the Typename to Menu_Button.

Then the following worked in the css file

QPushButton[type="Menu_Button"]
{
Text-align:left;
}

Apart from this referencing a new shape, the only difference I can see is the lower case a in align and lower case l in left.

Never mind, it works a trest now.

Joe

13 posts • Page 2 of 2