Open fahmi277 opened 3 years ago
This code here is the reason for the bug I think:
if (orientation == Orientation.portrait) {
width = boxConstraints.maxWidth;
height = boxConstraints.maxHeight;
} else {
width = boxConstraints.maxHeight;
height = boxConstraints.maxWidth;
}
Not sure what was the author's intention behind this.
I made a pull request to fix this : #58
Hello dev,
I try to check screen size with SizerUtil.height and SizerUtil.width, but the value is wrong. i use 15" device
please help to fix, thanks
Fahmi