Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33367

QMainWindow separator can not have different width for horizontal and vertical

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.8.5, 5.4.0
    • GUI: Workspace
    • None
    • Win7

    Description

      I want to create a QMainWindow with two QDockWidget's.
      One to the left and one in the top area.
      Further both separator shall have a different width. This is not possible.

      I tried the following stylesheets:
      A)
      -----------------------
      QMainWindow::separator{
      width:5px;
      height:20px;
      }

      B)
      -----------------------
      QMainWindow::separator:horizontal {
      background-color:blue;
      width:5px;
      height:5px;
      }
      QMainWindow::separator:vertical {
      background-color:black;
      width:20px;
      height:20px;
      }

      In case A) the width of both the horizontal and vertical separator are 20 pixel.
      In case B) the width of both is 20 pixel too but each separator has the associated color.
      I also tried different combinations of case B) where only height or width was defined.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            zthawk ZTHawk
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes