Results 1 to 2 of 2

Thread: align QMenu QToolBar

  1. #1
    Join Date
    Aug 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default align QMenu QToolBar

    Hi
    I have created a window that inherits from Qwidget. I have added a Qmenu and a QToolBar to that QWidget.
    but I can't get them aligned even if I put the menu and the tool bar in the same layout, I have a margin on the left of the window.

    sorry for my bad english

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5
    Thanked 86 Times in 81 Posts

    Default Re: align QMenu QToolBar

    Please post your code and a snapshot of the result.

    Have you used QMainWindow?
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. QTabWidget align
    By AlexD in forum Qt Programming
    Replies: 6
    Last Post: 10th August 2012, 14:19
  2. QTextEdit align
    By mero in forum Qt Programming
    Replies: 5
    Last Post: 29th March 2011, 09:10
  3. how to align text inside a QToolBar
    By eric_vi in forum Qt Programming
    Replies: 1
    Last Post: 27th September 2010, 13:04
  4. QTextEdit align right.
    By bunjee in forum Qt Programming
    Replies: 6
    Last Post: 7th November 2009, 21:43
  5. how align some buttons in QToolbar from right to left?
    By davi_all4one in forum Qt Programming
    Replies: 3
    Last Post: 7th September 2009, 12:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.