Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarah
oxycraft
Commits
6ff6ce5c
Commit
6ff6ce5c
authored
Jun 17, 2021
by
Sarah
Browse files
Fix scaling with window
parent
c91fc842
Pipeline
#917
canceled with stage
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
client/src/main_menu.rs
View file @
6ff6ce5c
...
...
@@ -108,10 +108,11 @@ fn setup(
style
:
Style
{
flex_direction
:
FlexDirection
::
ColumnReverse
,
align_items
:
AlignItems
::
Center
,
margin
:
Rect
{
margin
:
Rect
::
all
(
Val
::
Auto
),
position
:
Rect
{
left
:
Val
::
Auto
,
right
:
Val
::
Auto
,
top
:
Val
::
Percent
(
25
.0
),
top
:
Val
::
Percent
(
10
.0
),
bottom
:
Val
::
Auto
,
},
..
Default
::
default
()
...
...
@@ -123,6 +124,7 @@ fn setup(
..
Default
::
default
()
})
.with_children
(|
parent
|
{
parent
.spawn_bundle
(
ButtonBundle
{
style
:
button_style
.clone
(),
...
...
@@ -144,6 +146,7 @@ fn setup(
..
Default
::
default
()
});
});
parent
.spawn_bundle
(
ButtonBundle
{
style
:
button_style
.clone
(),
...
...
@@ -165,6 +168,7 @@ fn setup(
..
Default
::
default
()
});
});
parent
.spawn_bundle
(
ButtonBundle
{
style
:
button_style
.clone
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment