New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configurable title alignment in titlepane #558
Comments
So you want the title centered if buttons are shown (via menubar), Use |
The hint |
Sorry, but your initial post is a little bit confusing 😕 Can you reexplain? (gerne auch auf Deutsch) |
;-) Also es braucht unbedingt eine JMenuBar sonst kann man keine zusätzlichen Elemente einfügen, die dann zB am rechten Rand (vor min, max, close) erscheinen. zB:
Zumindest ist das lt. Anleitung von #268 so beschrieben. Und wenn man aber keine Menü Items zur MenuBar hinzufügt, ist der Title centered... schön wäre in diesem Fall aber, wenn er links wäre. Klar, nur Kosmetik. |
Ach so, links kein Menü und Buttons rechts. |
Genau das! |
…s empty or has no menus at left side, but some components at right side (issue #558)
Fixed in latest |
Thx for your feedback 👍 |
I have an application without menubar and want to show 2 buttons in the title. This is possible with #268 - but a menubar is required. So I set a new JMenuBar and buttons are available.
The only "problem" is that the window title is centered after setting a menubar. Without menubar, the title is left aligned.
Is it possible to show the title left aligned in case of an empty menu?
The property:
UIManager.put("TitlePane.centerTitleIfMenuBarEmbedded", false);
is "static".
The text was updated successfully, but these errors were encountered: