mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-06 20:25:08 +00:00
Replace GUI anchor type by a float between 0 and 1
This commit is contained in:
@@ -88,7 +88,7 @@ CameraEditor::CameraEditor() {
|
||||
preview->set_toggle_mode(true);
|
||||
preview->set_anchor(MARGIN_LEFT, Control::ANCHOR_END);
|
||||
preview->set_anchor(MARGIN_RIGHT, Control::ANCHOR_END);
|
||||
preview->set_margin(MARGIN_LEFT, 60);
|
||||
preview->set_margin(MARGIN_LEFT, -60);
|
||||
preview->set_margin(MARGIN_RIGHT, 0);
|
||||
preview->set_margin(MARGIN_TOP, 0);
|
||||
preview->set_margin(MARGIN_BOTTOM, 10);
|
||||
|
||||
Reference in New Issue
Block a user