mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
About: Add mascot tooltip
This commit is contained in:
parent
40860f6f2c
commit
d61359ae91
Notes:
sideshowbarker
2024-07-19 08:57:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d61359ae91e
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto icon_label = right_container->add<GUI::Label>();
|
||||
icon_label->set_icon(Gfx::Bitmap::load_from_file("/res/icons/buggie.png"));
|
||||
icon_label->set_tooltip("Buggie");
|
||||
icon_label->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fixed);
|
||||
icon_label->set_preferred_size(icon_label->icon()->size());
|
||||
|
||||
|
|
Loading…
Reference in a new issue