LibGUI: Use GFrame to draw the frames around GItemView and GTableView.

This commit is contained in:
Andreas Kling 2019-03-28 16:58:29 +01:00
parent 1fc03a7644
commit 3dc4255eb4
Notes: sideshowbarker 2024-07-19 14:55:04 +09:00
5 changed files with 27 additions and 14 deletions

View file

@ -13,7 +13,7 @@ GTextEditor::GTextEditor(Type type, GWidget* parent)
: GScrollableWidget(parent)
, m_type(type)
{
set_frame_shape(GFrame::Shape::Panel);
set_frame_shape(GFrame::Shape::Container);
set_frame_shadow(GFrame::Shadow::Sunken);
set_frame_thickness(1);
set_scrollbars_enabled(is_multi_line());