Merge pull request #56104 from Geometror/add-flow-layout-container
Add FlowContainer
This commit is contained in:
commit
030638e5b4
10 changed files with 403 additions and 0 deletions
|
|
@ -1123,6 +1123,12 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
|||
theme->set_constant("margin_bottom", "MarginContainer", 0);
|
||||
theme->set_constant("hseparation", "GridContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("vseparation", "GridContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("hseparation", "FlowContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("vseparation", "FlowContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("hseparation", "HFlowContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("vseparation", "HFlowContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("hseparation", "VFlowContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("vseparation", "VFlowContainer", default_margin_size * EDSCALE);
|
||||
|
||||
// Window
|
||||
|
||||
|
|
|
|||
1
editor/icons/HFlowContainer.svg
Normal file
1
editor/icons/HFlowContainer.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M3 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3zm0 2h10v10H3V3zm2 1c-.554 0-1 .446-1 1s.446 1 1 1h2c.554 0 1-.446 1-1s-.446-1-1-1H5zm4.996 0c-.554 0-1 .446-1 1s.446 1 1 1H11c.554 0 1-.446 1-1s-.446-1-1-1H9.996zM5 7c-.554 0-1 .446-1 1s.446 1 1 1 1-.446 1-1-.446-1-1-1zm3 0c-.554 0-1 .446-1 1s.446 1 1 1h3c.554 0 1-.446 1-1s-.446-1-1-1H8zm-3.004 3c-.554 0-1 .446-1 1s.446 1 1 1H9c.554 0 1-.446 1-1s-.446-1-1-1H4.996z" style="fill:#8eef97;fill-opacity:1"/></svg>
|
||||
|
After Width: | Height: | Size: 555 B |
1
editor/icons/VFlowContainer.svg
Normal file
1
editor/icons/VFlowContainer.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M3 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3zm0 2h10v10H3V3zm7.998.998c-.554 0-1 .446-1 1v4.004c0 .554.446 1 1 1s1-.446 1-1V4.998c0-.554-.446-1-1-1zm-6 .004c-.554 0-1 .446-1 1v2c0 .554.446 1 1 1s1-.446 1-1v-2c0-.554-.446-1-1-1zm3 0c-.554 0-1 .446-1 1s.446 1 1 1 1-.446 1-1-.446-1-1-1zm0 3c-.554 0-1 .446-1 1v3c0 .554.446 1 1 1s1-.446 1-1v-3c0-.554-.446-1-1-1zm-3 1.996c-.554 0-1 .446-1 1v1.004c0 .554.446 1 1 1s1-.446 1-1V9.998c0-.554-.446-1-1-1z" style="fill:#8eef97;fill-opacity:1"/></svg>
|
||||
|
After Width: | Height: | Size: 590 B |
Loading…
Add table
Add a link
Reference in a new issue