Qt Titlebar Aligning Title to left or right



  • Is there any way to align the title in the titlebar to left or right? Qt's default setting is centered, or maybe you can't align it to the left or right?

    Edit:
    Looked through google first, didn't find anything on this sort of topic.



  • [quote author="RichardM198030" date="1320167237"]Is there any way to align the title in the titlebar to left or right? Qt's default setting is centered, or maybe you can't align it to the left or right?
    [/quote]

    I think it is up to underlaying OS and its settings? At least in Linux (X11), it is usually window manager that does those decorations. I am not sure, if this behavior can be easily changed with Qt.



  • [quote author="mkoskim" date="1320167947"]
    [quote author="RichardM198030" date="1320167237"]Is there any way to align the title in the titlebar to left or right? Qt's default setting is centered, or maybe you can't align it to the left or right?
    [/quote]

    I think it is up to underlaying OS and its settings? At least in Linux (X11), it is usually window manager that does those decorations. I am not sure, if this behavior can be easily changed with Qt.[/quote]

    Yeah, thanks, I was kinda wondering that, and was thinking that's the possible case here..



  • The title bar is done by the OS. YOu can only change the behavior by doing platform specific things...



  • [quote author="Gerolf" date="1320170263"]The title bar is done by the OS. YOu can only change the behavior by doing platform specific things...[/quote]

    Awesome, thanks, =). Yeah, I'm running Gentoo Linux here.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.