mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Make sure the scroll bar is never outside the screen rectangle (#475)
* Make sure the scroll bar is never outside the screen rectangle This is an alternative attempt to fix the bug mentioned in https://github.com/emilk/egui/pull/392 egui expects that the container can always be made wider, which is true for all egui Ui:s, but not true for the outer frame/chrome that egui ultimately needs to sit within. * Clamp scroll to screen rect rather than available rect * Fix scrollbar spacing when shrinking too small * Update changelog
This commit is contained in:
@@ -28,6 +28,9 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
|
||||
* `TopPanel::top` is now `TopBottomPanel::top`.
|
||||
* `SidePanel::left` no longet takes the default width by argument, but by a builder call.
|
||||
|
||||
### Fixed 🐛
|
||||
* Fix invisible scroll bar when native window is too narrow for egui.
|
||||
|
||||
|
||||
## 0.12.0 - 2021-05-10 - Multitouch, user memory, window pivots, and improved plots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user