[view] fixes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user