-
Notifications
You must be signed in to change notification settings - Fork 12
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
Upgrade to egui 0.21 #8
Comments
For the first issue, it looks like something has changed around the layouting of characters or the default monospace font might have different properties. let response = ui.add(
TextEdit::singleline(&mut frame_data.selected_edit_address_string)
- .desired_width(6.0)
+ .desired_width(14.0)
.font(options.memory_editor_text_style.clone())
.hint_text(label_text)
.id_source(frame_data.selected_edit_address), Or it could be that there was an invisible carriage return character before, which is now taking zero space thanks to emilk/egui#2452. |
For the scroll area, it is funny since the changelog mention that it should be less aggressive about clipping its contents but here it is exactly the opposite. This regression was likely introduced by emilk/egui#2665. I guess you should open a bug in egui repo. |
That was indeed quite close! Turns out it's usually around You still can't see the full value you're editing, but it's definitely better than before. |
Never mind, the issue with the clipping was caused due to a change in Changing the I'll push a release tomorrow if there are no other issues. |
I noticed some commits in
master
branch about upgrading to egui v0.21 (194e9ad).It seems to work on my end building from
master
, though I also noticed that a piece of code was removed examples/simple/frame_history.rs#L81-L98.Is there anything we can do to help?
The text was updated successfully, but these errors were encountered: