i exeperimented with styles and found interesting stuff:
when i replace
color: qlineargradient(spreadad, x1:0 y1:0, x2:1 y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));
color: qlineargradient(spreadad, x1:0 y1:0, x2:1 y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));
To copy to clipboard, switch view to plain text mode
with
color: qlineargradient(spreadad, x1:0 y1:0, x2:[B]100[/B] y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));
color: qlineargradient(spreadad, x1:0 y1:0, x2:[B]100[/B] y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));
To copy to clipboard, switch view to plain text mode
label's text filled with gradient starts from (0,0) to (100,0), this seems to be bug? values after x1,x2,y1,y2 means proportion of widget but not concrete width/height! x2:1 always means x2=width()*1 but not just one pixel (x==1) same gradient for background-color works perfectly(i. e. x2=width()*1).
Bookmarks