Results 1 to 2 of 2

Thread: QTabBar stylesheet problem

  1. #1
    Join Date
    Jul 2009
    Posts
    15
    Thanks
    1

    Default QTabBar stylesheet problem

    Hi,
    When I set this stylesheet QTabBar::tab { margin-top: 5px; } to a qtabwidget
    the default style is lost. How I set this property and keep the default style?

    Thank you.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QTabBar stylesheet problem

    This is not possible. Setting a stylesheet is implemented by replacing the system native style with a special CSS-style that on longer uses native elements.

    If you are disapointed by this behavior, think whether it could really be implement: For example: If you want a mac scrollbar that is 30px wide, it cannot be displayed because there is no graphics for this size in the native style.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  2. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.