Skip to content
Snippets Groups Projects
Commit 75306334 authored by StarArawn's avatar StarArawn
Browse files

Made font size a little bigger.

parent 5f41b5ff
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ fn Counter() {
rsx! {
<>
<Window position={(50.0, 50.0)} size={(300.0, 300.0)} title={"Counter Example".to_string()}>
<Text size={16.0} content={format!("Current Count: {}", count).to_string()}>{}</Text>
<Text size={32.0} content={format!("Current Count: {}", count).to_string()}>{}</Text>
<Button on_event={Some(on_event)}>
<Text styles={Some(text_styles)} size={24.0} content={"Count!".to_string()}>{}</Text>
</Button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment