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

Square Textfield style #81

Open
mkchoi212 opened this issue May 2, 2022 · 2 comments
Open

Square Textfield style #81

mkchoi212 opened this issue May 2, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mkchoi212
Copy link

Is there a way to change the style of the text field to .squareBorder? If not, would love this property to be exposed!

@sindresorhus
Copy link
Owner

If you use RecorderCocoa, you can set .bezelStyle = .squareBezel on it.

For SwiftUI, I guess we can make it respect .textFieldStyle(.squareBorder) and document that.

@sindresorhus sindresorhus added enhancement New feature or request help wanted Extra attention is needed labels May 3, 2022
@Maschina
Copy link
Contributor

I have recently developed a custom MeasurementField that takes an optional configuration to directly access the AppKit properties: https://gist.github.com/Maschina/f391b3ed8e5d45389e72fbe95d290f00

We may add something like this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants