Left Align Text on Push Button
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Left Align Text on Push Button
Please find here my panel https://www.winccoa.com/fileadmin/image ... ssdemo.pnl
- 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
- 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
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
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