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

LibDraw: Add ColorRole::BaseText (to be painted on ColorRole::Base)

This commit is contained in:
Andreas Kling 2019-12-24 22:01:32 +01:00
parent a79bac428b
commit aae54bdbde
11 changed files with 13 additions and 0 deletions

View file

@ -25,6 +25,7 @@ GTreeView::GTreeView(GWidget* parent)
: GAbstractColumnView(parent)
{
set_background_role(ColorRole::Base);
set_foreground_role(ColorRole::BaseText);
set_size_columns_to_fit_content(true);
set_headers_visible(false);
m_expand_bitmap = GraphicsBitmap::load_from_file("/res/icons/treeview-expand.png");