Describe the bug
The Resize container becomes infinitely wide when I set pixel_per_point to any value other than the default. Ignoring default_size setting.
To Reproduce
Create a horizontal layout
ui.horizontal_top(|ui| { } );
Put inside of it two Resize containers with some value for default_size (max_size for demonstration purposes):
Describe the bug The Resize container becomes infinitely wide when I set
pixel_per_point
to any value other than the default. Ignoringdefault_size
setting.To Reproduce
Resize
containers with some value fordefault_size
(max_size
for demonstration purposes):cc.egui_ctx.set_pixels_per_point(1.5);
inside of thenew
method of your AppScreenshots When
cc.egui_ctx.set_pixels_per_point(1.0);
,When
cc.egui_ctx.set_pixels_per_point(1.5);
,Expected behavior The initial size of the containers should not change depending on the pixel_per_point setting.
Environment
egui
version: 0.29.1eframe
version: 0.29.1Additional context Reproduced on the master branch version of
egui
andeframe
. Behaves the same way if pixel_per_point is lower than 1.0.