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

Add support for asymmetric sizing to Sides #5116

Open
abey79 opened this issue Sep 17, 2024 · 1 comment
Open

Add support for asymmetric sizing to Sides #5116

abey79 opened this issue Sep 17, 2024 · 1 comment
Labels
egui feature New feature or request rerun Desired for Rerun.io

Comments

@abey79
Copy link
Collaborator

abey79 commented Sep 17, 2024

Currently, Sides treats the left and right content symmetrically. This is not ideal in some cases, for examples support for on-hover right-aligned icons with text on the left side. In such case, we would like the text to be truncated with then icon is displayed (as opposed to have the Side extend to accommodate the icon).

@abey79 abey79 added egui rerun Desired for Rerun.io feature New feature or request labels Sep 17, 2024
@abey79
Copy link
Collaborator Author

abey79 commented Sep 17, 2024

This could be used to implement cell_with_hover_button_ui() (re_space_view_dataframe/src/dataframe_ui.rs).

@emilk emilk added this to the Next Major Release milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui feature New feature or request rerun Desired for Rerun.io
Projects
None yet
Development

No branches or pull requests

2 participants