change px to proportion

This commit is contained in:
王劲鹏
2020-04-17 15:18:01 +08:00
committed by osborn
parent 36eaf35cd0
commit 4c18171a2b
3 changed files with 19 additions and 11 deletions

View File

@@ -119,9 +119,9 @@ class ImageDemo extends Panel {
scaleType: ScaleType.ScaleToFill,
layoutConfig: layoutConfig().just(),
stretchInset: {
left: 125,
left: 0.85,
top: 0,
right: 22,
right: 0.149,
bottom: 0
}
})