Qss and bottom-border



  • Hi,

    I try to define a widget border using a qss file.

    @
    QToolButton
    {
    border: 1px solid #000000;
    }
    @

    It's great and very simple !
    However I have a problem.
    My bottom-border isn't visible.
    I had to define a border of 2px to see it.
    I mean the bottom border is always shifted by 1px.
    It's very strange, isn't it ?

    Is it a known issue or I don't know how to use it ?

    Thanks in advance for your answer


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.