fix: apply default width to all applet popups

This commit is contained in:
Ashley Wulber 2025-03-04 13:20:01 -05:00
parent cb11a0f872
commit e14c560c87
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -323,10 +323,10 @@ impl Context {
) )
.limits( .limits(
Limits::NONE Limits::NONE
.min_width(1.)
.min_height(1.) .min_height(1.)
.max_width(500.) .min_width(360.0)
.max_height(1000.), .max_width(360.0)
.max_height(1000.0),
) )
} }
@ -365,7 +365,11 @@ impl Context {
}, },
reactive: true, reactive: true,
constraint_adjustment: 15, // slide_y, slide_x, flip_x, flip_y constraint_adjustment: 15, // slide_y, slide_x, flip_x, flip_y
..Default::default() size_limits: Limits::NONE
.min_height(1.0)
.min_width(360.0)
.max_width(360.0)
.max_height(1080.0),
}, },
parent_size: None, parent_size: None,
grab: true, grab: true,