Results 1 to 2 of 2

Thread: Setting the title bar

  1. #1
    Join Date
    Jul 2007
    Posts
    57
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    7

    Default Setting the title bar

    Is there any method to display the title on the left side of the window on Linux .I hav used the statement setWindowTitle("name"),on Windows i am getting the title on the leftside..On Linux i am getting the title in the center....Is there any option to display the title on the leftside of the window in Linux

  2. #2
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    9
    Thanked 29 Times in 29 Posts

    Default Re: Setting the title bar

    I don't think you can control this with Qt (unless you create your own titlebar, I suppose). It's a setting in your window manager. In KDE, for example, it's in

    Control Center -> Appearance & Themes ->Window Decorations -> Title Alignment
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

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

    Krish_ng (18th July 2007)

Similar Threads

  1. Title Bar Change setWindowModified
    By KaptainKarl in forum Qt Programming
    Replies: 2
    Last Post: 15th February 2007, 18:03
  2. QGroupBox title truncated on both sides
    By Gopala Krishna in forum Qt Programming
    Replies: 2
    Last Post: 7th October 2006, 16:02
  3. form setting
    By mickey in forum Qt Tools
    Replies: 5
    Last Post: 27th September 2006, 01:28

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.