mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Welcome: Use a proper heading font for 'Welcome to Serenity!'
This commit is contained in:
parent
ce2c1e824d
commit
37daae1451
Notes:
sideshowbarker
2024-07-19 17:41:27 +09:00
Author: https://github.com/thatlittlegit
Commit: 37daae1451
Pull-request: https://github.com/SerenityOS/serenity/pull/1221
Reviewed-by: https://github.com/shannonbooth
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ int main(int argc, char** argv)
|
|||
//
|
||||
|
||||
auto header = GUI::Label::construct(background.ptr());
|
||||
header->set_font(Gfx::Font::default_bold_font());
|
||||
header->set_font(Gfx::Font::load_from_file("/res/fonts/PebbletonBold11.font"));
|
||||
header->set_text("Welcome to Serenity");
|
||||
header->set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
header->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue