[Solved] Qt Border Color
General and Desktop
5
Posts
3
Posters
24.4k
Views
1
Watching
-
wrote on 18 May 2012, 15:49 last edited by
Hi,
I am trying to change the border color of any UI element in Qt, but it doesn't seem to have effect when I click on the item & go to stylesheet & write:
@border-color: rgb(0, 0, 0);@
Anyone else get this or have a solution? Thanks!!
-
wrote on 19 May 2012, 08:00 last edited by
Hi,
You need to write
@
border: 2px solid red; @ -
wrote on 19 May 2012, 11:20 last edited by
try it :
@
border-color: rgb(0, 0, 0);
border-width : 1.2px;
border-style:inset;
@working for me
-
wrote on 22 May 2012, 21:56 last edited by
Worked!! Thanks, guys. :)
-
wrote on 23 May 2012, 05:05 last edited by
Kindly edit your first post and set the title as [Solved].
Thanks
1/5