You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a (also called auto percentages) they take precedence over the minimum and maximum size of the element, so that if you set an element to min_height: "32" and height: "0a" then its height will be 0 pixels rather than the expected 32 pixels.
Minimum code to reproduce:
use freya::prelude::*;fnmain(){launch(app);}fnapp() -> Element{rsx!{
rect {
main_align:"center",
cross_align:"center",
background:"red",
width:"128",
min_height:"32",
height:"0a",
overflow:"clip",
label {"Hello world!"}}}}
The text was updated successfully, but these errors were encountered:
When using
a
(also called auto percentages) they take precedence over the minimum and maximum size of the element, so that if you set an element tomin_height: "32"
andheight: "0a"
then its height will be 0 pixels rather than the expected 32 pixels.Minimum code to reproduce:
The text was updated successfully, but these errors were encountered: