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

Make rounded corners for rectangles #21

Closed
Dimchikkk opened this issue Apr 11, 2023 · 3 comments
Closed

Make rounded corners for rectangles #21

Dimchikkk opened this issue Apr 11, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Dimchikkk
Copy link
Owner

Let's make pretty UI with rounded corners for rectangles, buttons, etc.

(possibly bevyengine/bevy#3991 have to be released first)

@Dimchikkk Dimchikkk added the enhancement New feature or request label Apr 11, 2023
@nx2k3
Copy link
Collaborator

nx2k3 commented Apr 11, 2023

why not try other bevy ui plugin like bevy_egui or belly

@Dimchikkk
Copy link
Owner Author

Dimchikkk commented Apr 11, 2023

why not try other bevy ui plugin like bevy_egui or belly

When I first started using Rust, I looked into using egui to add a handler for a table row click. However, I wasn't satisfied with the API. While the belly library is interesting, it doesn't seem to offer much for this particular project. Additionally, I don't believe that belly supports rounded corners.

While belly may not offer a solution for all of the requirements of this project, I am still open to considering it if it can bring something useful to the table that can't be done easily with raw bevy-ui. That being said, the main limitation of using raw bevy-ui for this project is not so much the lack of rounded corners, but rather the absence of editable/selectable text input.

I've spoken with bevy-ui contributors on Discord, and they have informed me that migration to cosmic-text will enable editable text input for bevy-ui. The migration may occur in the upcoming 0.11 release. My goal for this project is to have rich text editing with support for markdown/org syntax in rectangles, and potentially even executable code (literate programming) in the future.

@Dimchikkk
Copy link
Owner Author

This can be re-opened if someone wants to work on it.
This is not priority anymore, we can wait until bevy has rounded corners support.

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

No branches or pull requests

2 participants