-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 overline option for Table rows #5637
base: master
Are you sure you want to change the base?
Conversation
Rebased. |
Sorry for the slow review - needs a merge fix for the screenshot test |
Co-authored-by: Emil Ernerfeldt <[email protected]>
@emilk No worries – thank you for Egui, it's awesome! Rebased + updated snapshot + added your suggestion. |
Preview available at https://egui-pr-preview.github.io/pr/5637-table-overline |
It's currently drawn on the zeroth pixel row of the table row it's overlining. I wasn't convinced that drawing it at a half-pixel offset upwards would be a good idea... |
This PR adds an
overline
option foregui_extras::TableRow
, which is useful for visually grouping rows. The overline consumes no layout space.A screenshot of the demo app, showing every 7th row getting an overline.