mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 23:52:08 +00:00
WindowServer: More work on menus.
This commit is contained in:
parent
443b043b49
commit
5f288014d4
Notes:
sideshowbarker
2024-07-19 15:47:42 +09:00
Author: https://github.com/awesomekling
Commit: 5f288014d4
11 changed files with 51 additions and 33 deletions
|
@ -75,7 +75,7 @@ void GCheckBox::paint_event(GPaintEvent&)
|
|||
painter.draw_bitmap(box_rect.shrunken(2, 2).location(), *s_checked_bitmap, foreground_color());
|
||||
|
||||
if (!caption().is_empty())
|
||||
painter.draw_text(text_rect, caption(), Painter::TextAlignment::TopLeft, foreground_color());
|
||||
painter.draw_text(text_rect, caption(), TextAlignment::TopLeft, foreground_color());
|
||||
|
||||
if (is_focused()) {
|
||||
// NOTE: Painter::draw_focus_rect() will shrink(2,2) the passed rect.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue