Results 1 to 2 of 2

Thread: Extra Pixels on Bottom and Right of QTabWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2010
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Extra Pixels on Bottom and Right of QTabWidget

    I tried searching for this issue and although I was able to find this bug on Qt's website, I wasn't able to find anything regarding non-document mode (in fact, it seemed to imply that the behavior that I was seeing was correct).

    Anyways, I am trying to make a simple issue tracker and so I have a QTableWidget and a QTabWidget in a QSplitter as shown:

    tabwidget1.png

    If you look at the right side of the two widgets, you can see that the frame of the QTableWidget does not line up with the frame of the QTabWidget. I have emphasized the issue here:

    tabwidget2.png

    My question is, if this is the intended behavior...why was this added to the xp style sheet (it does not appear to have the same extra pixels on Macintosh or Plastique)? And regardless of that, how can I remove the extra white pixels on the bottom and right so that the frame lines up appropriately?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Extra Pixels on Bottom and Right of QTabWidget

    There is no such thing as "XP stylesheet". On Windows XP it is the system that is drawing the looks of widgets so it is likely it is supposed to be that way. You can counter what you see by increasing the right margin of the upper widget until the two widgets are lined up.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 6
    Last Post: 21st August 2013, 12:53
  2. Replies: 8
    Last Post: 27th May 2011, 12:22
  3. Replies: 7
    Last Post: 15th November 2007, 17:19
  4. Qwt - extra axis
    By steg90 in forum Qwt
    Replies: 2
    Last Post: 10th July 2007, 14:41
  5. extra database features available in Qt4 than QT3
    By nimmyj in forum General Discussion
    Replies: 1
    Last Post: 24th November 2006, 22:14

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.