Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Remove space between menubar and centralwidget in QMainWindow
Qt 6.12 LTS is out! See what's new in the release blog

Remove space between menubar and centralwidget in QMainWindow

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

    Hi,

    I want to remove space between Menubar and Centralwidget in QMainwindow.
    can anyone please guide me.

    Thanks in advance

    A 1 Reply Last reply
    0
    • A Apeksha

      Hi,

      I want to remove space between Menubar and Centralwidget in QMainwindow.
      can anyone please guide me.

      Thanks in advance

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

      @Apeksha Please add a screenshot showing what space you're talking about. It could be as simple as a layout margins change, or it could be something handled by your window manager in which case it's much much harder.

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

      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
      • Unsolved