Important: Please read the Qt Code of Conduct -

Change Tab Width?

  • Hi,
    I am currently trying to use tabs to switch between four lists. They are titled "Trimlist 1", "Trimlist 2", "Trimlist 3", and "Trimlist 4" in the code.
    Lists 2, 3, and 4 display fine, but Trimlist 1 gets cut off with "...", so it displays as "Trimlis...". I have other tabviews in the app, with titles that have more characters, and they were simply stretched to accommodate the longer string.
    My question is, is there any way to make the tab titles wider without using tabviewstyle, or is there any way to just define width with tabviewstyle? I like the way the tabs look now, I just want them to be wider.

Log in to reply