refactor font loading
This commit is contained in:
@@ -42,7 +42,7 @@ std::future<bool> NodeRemotePage::load_url(const std::string& url,
|
||||
align->SetAlign(YGAlignCenter);
|
||||
align->SetJustify(YGJustifyCenter);
|
||||
auto text = align->add_child_ref<NodeText>();
|
||||
text->set_font("arial-30");
|
||||
text->set_font_size(30);
|
||||
text->set_text("Connecting to the server...");
|
||||
|
||||
m_url = url;
|
||||
|
||||
Reference in New Issue
Block a user