5

There doesn't seem to be a way of setting a stylesheet for the bottom line (shown in the image below) of a QTabBar, which I want to be removed.

bottom line of the `QTabBar shown

How can I remove it?

2
  • Having the same issue, how did you actually do it (removed the line?) Jul 24, 2014 at 15:21
  • 1
    i'dont remember, but it seems i just used QTabBar::setDrawBase(false)
    – TatianaP
    Jul 13, 2017 at 18:47

1 Answer 1

8

Haven't used Qt in 6-7 months now so I'm not sure if this will work nor can I test it. Give QTabBar::drawBase a try. Plus the Qt library are very well documents so you should find a solution to your problems if you just carefully sift through it.

Hope you are using the Qt SDK.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.