Center text on welcome screen (#3699)
This PR centers the text "Code at the speed of thought" on the welcome screen. Release Notes: - N/A
This commit is contained in:
parent
0aa690f915
commit
98f5a3d544
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,11 @@ impl Render for WelcomePage {
|
|||
.h(px(96.))
|
||||
.mx_auto(),
|
||||
)
|
||||
.child(Label::new("Code at the speed of thought"))
|
||||
.child(
|
||||
h_stack()
|
||||
.justify_center()
|
||||
.child(Label::new("Code at the speed of thought")),
|
||||
)
|
||||
.child(
|
||||
v_stack()
|
||||
.gap_2()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue