-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Support RTL #350
Comments
And it works if the parent is of another type? Could you post a screenshot? I can not reproduce it... |
sorry, the Text Area inside the JOptionPane has the issue |
The first and last lines are right aligned. So it seems that the dialog/textarea width is too small and the text is wrapped... |
you are right, but how can we make the wrapped text RTL |
Good question. I don't know... Can you please give me some details on how you pass the text to the option pane. |
yes, im using in the message System.lineSeparator() to seperate the lines. no special components |
The option pane has the ability to wrap longer lines. Please try adding following to disable wrapping (after setting FlatLaf): UIManager.put( "OptionPane.maxCharactersPerLine", 0 ); |
thank you, this solved it |
It turned out that this is a bug in Anyway, I've implemented a fix in FlatLaf. |
Hi,
i have an issue of having 'JOptionPane.showOptionDialog' RTL when the parentComponent is JInternalFrame/JDesktopPane, it is still displayed LTR.
just to mentioned it is working correctly using the metal or any internal LnF
The text was updated successfully, but these errors were encountered: