1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

GTableView: Improve look of column headers, and add sort order indicators.

This commit is contained in:
Andreas Kling 2019-05-04 21:16:41 +02:00
parent 6228503c16
commit a8c856ed3d
4 changed files with 26 additions and 10 deletions

View file

@ -23,7 +23,7 @@ static void paint_button_new(Painter& painter, const Rect& rect, bool pressed, b
// Base
painter.fill_rect({ 1, 1, rect.width() - 2, rect.height() - 2 }, button_color);
painter.draw_rect(rect, shadow_color2);
painter.draw_rect({ { }, rect.size() }, shadow_color2);
// Sunken shadow
painter.draw_line({ 1, 1 }, { rect.width() - 2, 1 }, shadow_color1);