Skip to content
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

rounded border/corners for all input fields #655

Closed
rjahn opened this issue Mar 21, 2023 · 3 comments
Closed

rounded border/corners for all input fields #655

rjahn opened this issue Mar 21, 2023 · 3 comments
Milestone

Comments

@rjahn
Copy link

rjahn commented Mar 21, 2023

The borders of comboboxes are rounded, textfields are not rounded.
If you want the same border for all input fields, I guess it's not possible right now?

It's possible to set:

TextComponent.arc = 5

works for text fields.

But JTextArea which is used inside a JScrollpane, doesn't support rounded border?
If you set:

ScrollPane.border = com.formdev.flatlaf.ui.FlatTextBorder

the border is rounded, but the text area/viewport background is a rectangle without rounded corners.

So, is it possible to define all input fields (not table, tree or other components), only input fields - with rounded corners?

@DevCharly
Copy link
Collaborator

There is now a draft PR for rounded scrollpanes. See PR #713.

@DevCharly
Copy link
Collaborator

closing because duplicate of #594

@DevCharly
Copy link
Collaborator

implemented in latest 3.3-SNAPSHOT: https://github.com/JFormDesigner/FlatLaf#snapshots

@DevCharly DevCharly added this to the 3.3 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants