1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibGUI+LibGfx: Collapse the '&' from Alt shortcuts in tooltip texts

Also resolve a FIXME about using GUI::Label auto-sizing since we're
changing this code and it simplifies what we're doing.

Fixes #6219.
This commit is contained in:
Andreas Kling 2021-04-11 01:09:44 +02:00
parent f27352dfdc
commit a4992b5ece
3 changed files with 27 additions and 25 deletions

View file

@ -171,4 +171,6 @@ private:
Painter& m_painter;
};
String parse_ampersand_string(const StringView&, Optional<size_t>* underline_offset = nullptr);
}