Results 1 to 2 of 2

Thread: Tabified QDockWidget showing elipsis instead of title when vertical [solved]

  1. #1
    Join Date
    Jul 2012
    Posts
    4
    Thanks
    1
    Qt products
    Qt4

    Default Tabified QDockWidget showing elipsis instead of title when vertical [solved]

    Hi,

    I'm using Qt4.8.6 via python on linux (KDE cent6).

    When I add two dock widgets then tabify them they look correct, displaying the title as the tab text. However, if I use QtGui.QMainWindow.VerticalTabs all I see in the tab's text is '...' (the elipsis text is oriented vertically).

    Has anyone seen this before or have any debugging ideas I can try?
    Last edited by Rafe; 6th July 2017 at 23:16. Reason: Solved in title

  2. #2
    Join Date
    Jul 2012
    Posts
    4
    Thanks
    1
    Qt products
    Qt4

    Default Re: Tabified QDockWidget showing elipsis instead of title when vertical

    Adding style sheet support for QTabBar fixed this issue.

    It looks like this was an artifact of, perhaps, our app font size or Qts default tab style (probably in combination with my personal OS theme). My theory is that there simply wasn't enough space to show the text so Qt put elipsis instead? I didn't check the source code so these are all just guesses

Similar Threads

  1. Give a vertical header a title?
    By jmalicke in forum Newbie
    Replies: 6
    Last Post: 12th December 2014, 21:17
  2. Tabified QDockWidget, QTabWidget, and Style Sheets
    By prof.ebral in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2012, 17:49
  3. Twisted Letters in Vertical Axis Title
    By DrunkenUFOPilot in forum Qwt
    Replies: 6
    Last Post: 25th January 2012, 00:56
  4. move/drag tabified QDockWidget's togeter
    By qtui in forum Qt Programming
    Replies: 0
    Last Post: 14th February 2011, 01:01
  5. QDockWidget: Check tabified visibility?
    By youkai in forum Qt Programming
    Replies: 5
    Last Post: 19th July 2009, 10:44

Tags for this Thread

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.