×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    10

    Possible to set tab size of QTabWidget

    hi, during the development of qt4.6 the size of the tabs have changed. more space have been added between the text and edges of the tabs. i knew before i started to use 4.6 that there would be changes along the way, and ive updated my app accordingly to the changes.
    but as the tabs has gotten bigger ive run out of space for them, do anyone know how to remove the "spacing" between the text and edges of the tabs?
    - yes i know i can add scrollbuttons, but this takes up space on its own and is not that easy to use with only fingers.

    any info would be highly appreciated.

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Possible to set tab size of QTabWidget

    You can use style rule something like that:
    Code:
    QTabBar::tab { min-width: 100px; min-width: 50px; }

Similar Threads

  1. changing text size in tab
    By noam segal in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-01-22, 23:16
  2. KERN-EXEC 3 with CEikEdwin
    By acarrion in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-17, 14:43
  3. how to set the text size in rich text editor?
    By LAS__VEGAS in forum Symbian C++
    Replies: 2
    Last Post: 2005-10-18, 09:04
  4. set Text size with MIDP 1.0
    By artemg in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-15, 20:13
  5. How to set the size of the Global Wait Note ?
    By sbleriot in forum Symbian C++
    Replies: 1
    Last Post: 2003-02-21, 10:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •