[view] fixes

This commit is contained in:
2019-07-13 16:14:27 +03:00
parent b488e6f88a
commit 5faa179116
11 changed files with 70 additions and 30 deletions

View File

@@ -74,7 +74,11 @@ class View<C:DisplayObject> implements IView<C> {
}
public function update():Void {
setSize(geometry.width.fixed, geometry.height.fixed, "geometry");
setSize(
geometry.width.fixed - geometry.padding.horizontal,
geometry.height.fixed - geometry.padding.vertical,
"geometry"
);
}
public function redraw():Void {