Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QToolBox tab cut text
Qt 6.11 is out! See what's new in the release blog

QToolBox tab cut text

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!!

    I am working with a QToolBox. I don't know why the tab texts are cut if there is a lot of space. Does anyone know how to fix this?

    0_1562326942363_bde495b8-2c7d-447f-af0f-aa2db6b0b9c6-image.png

    Thank you very much!

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Without actual code? No since we don't know what you did.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        I would guess on some margin in stylesheet or similar.

        1 Reply Last reply
        1
        • ivanicyI Offline
          ivanicyI Offline
          ivanicy
          wrote on last edited by
          #4

          Ok, maybe this could be the problem. The only way I found to increase the height of the tabswas increasing the point size of the font. And then, in the stylesheet I forced the point size to 16 pt. Do you know another way to increase the height?

          mrjjM 1 Reply Last reply
          0
          • ivanicyI ivanicy

            Ok, maybe this could be the problem. The only way I found to increase the height of the tabswas increasing the point size of the font. And then, in the stylesheet I forced the point size to 16 pt. Do you know another way to increase the height?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @ivanicy
            Hi
            You can try the icon trick
            https://stackoverflow.com/questions/48503645/customizing-qtoolbox-tab-height

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved