Results 1 to 3 of 3

Thread: Increase the height of titlebar, ...

  1. #1
    Join Date
    Jun 2006
    Location
    Vietnam
    Posts
    59
    Thanks
    17
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Increase the height of titlebar, ...

    Please help me how to increase the height of titlebar (of mainwindow), toolbar, & statusbar because the height is very small.

    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Increase the height of titlebar, ...

    The title bar of a main window is handled by the underlying window manager. So, you should change your desktop settings.

    As for the toolbar, you can insert a custom widget and put all your toolbar controls in it. The widget should have a layout and you could control its size with the layout margins and/or spacing, if not with setFixedSize/setMinimumSize.

    For a status bar I think is a different thing.

  3. The following user says thank you to marcel for this useful post:

    vql (23rd March 2008)

  4. #3
    Join Date
    Jun 2006
    Location
    Vietnam
    Posts
    59
    Thanks
    17
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Increase the height of titlebar, ...

    Any examples with QMenuBar please. I need implement it to develop a interface same as Office 2007.
    And how to increase the height of QMenuBar.
    Thanks.

Similar Threads

  1. How can I get the Systray height ?
    By Nyphel in forum Qt Programming
    Replies: 3
    Last Post: 12th March 2007, 09:04
  2. height()
    By mickey in forum Newbie
    Replies: 1
    Last Post: 22nd March 2006, 20:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.