LibGUI: Make view widgets fill background by default

Most clients will want background autofill, so let's make it the
default mode.
This commit is contained in:
Andreas Kling 2020-04-18 21:55:37 +02:00
parent c7b7b65309
commit d17b42b28d
Notes: sideshowbarker 2024-07-19 07:29:59 +09:00
4 changed files with 12 additions and 4 deletions

View file

@ -39,6 +39,7 @@ namespace GUI {
ItemView::ItemView()
{
set_fill_with_background_color(true);
set_background_role(ColorRole::Base);
set_foreground_role(ColorRole::BaseText);
horizontal_scrollbar().set_visible(false);