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

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
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());