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. MenuBar in DockWidget changes size
Forum Updated to NodeBB v4.3 + New Features

MenuBar in DockWidget changes size

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.8k 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.
  • W Offline
    W Offline
    wamo
    wrote on last edited by
    #1

    I have a problem with a MenuBar of a DockWidget

    It does not show the correct margin (left):
    !http://img98.imageshack.us/img98/7328/qmenubarbug.png(QmenuBar)!

    Now if i set the CSS Style:
    @QMenuBar
    {
    margin-left: 5px;
    }@

    It shows the correct margin (right part of the image) but the MenuBar suddenly gets much bigger. If i resize it manually with "height" property then the menus get lost like there is no space.

    Any idea how to fix it or track the root?

    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