Replace GUI anchor type by a float between 0 and 1
This commit is contained in:
parent
9575dbdf78
commit
0d35d4d53b
27 changed files with 117 additions and 169 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue