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. Fix the size of listwidget inside the tabwidget
Qt 6.11 is out! See what's new in the release blog

Fix the size of listwidget inside the tabwidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 940 Views 2 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.
  • A Offline
    A Offline
    amarism
    wrote on last edited by
    #1

    I am using the QtCreator with MainWindow .ui with the predefined QTabWidget template (Qt Gui Application). I have 2 QListWidget inside every tab bar.
    I want to Fix the size of list widget and Tab widget same. how could I do this one??

    Any help would be great!

    A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean you want them to have an exact size or that they share the available space equally ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • A amarism

        I am using the QtCreator with MainWindow .ui with the predefined QTabWidget template (Qt Gui Application). I have 2 QListWidget inside every tab bar.
        I want to Fix the size of list widget and Tab widget same. how could I do this one??

        Any help would be great!

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @amarism A picture of what you are trying to do would go a long way. Or at least a lot more description.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        A 1 Reply Last reply
        1
        • A ambershark

          @amarism A picture of what you are trying to do would go a long way. Or at least a lot more description.

          A Offline
          A Offline
          amarism
          wrote on last edited by
          #4

          @ambershark 0_1527052081002_TABWID.png

          Actually, I want to show the content inside the tab widget, when the user clicks on maximize button, Before it will minimize and vice versa.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Looks rather like a QMdiArea, no ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

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