Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
kilianvp
Posts: 443 Joined: Fri Jan 16, 2015 10:29 am
QT Stylesheet Textedit cant use Readonly
Post
by kilianvp » Mon Jan 30, 2017 4:39 pm
i wanna change the attributes of a
textfield /
multiline textfield where the text is set as readOnly
according to QT Online help it should be posible to use
However this wont work at all.
schneebergera
Posts: 89 Joined: Sun Apr 03, 2016 5:52 pm
Re: QT Stylesheet Textedit cant use Readonly
Post
by schneebergera » Thu Feb 02, 2017 10:01 am
as I tested the code in my project, the style onto the textbox is working fine.
Take care that the property for the textbox is set (readOnly = TRUE).
Please reload the stylesheet to see the effect.
Code: Select all
QTextEdit[readOnly="true"]
{
background: blue;
}