1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

IRCClient: Size columns to-fit in the window and member views

This commit is contained in:
Andreas Kling 2019-09-04 19:07:59 +02:00
parent f4042903b9
commit 75eb84c7e4
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& na
auto* container = new GSplitter(Orientation::Horizontal, this);
m_table_view = new GTableView(container);
m_table_view->set_size_columns_to_fit_content(true);
m_table_view->set_headers_visible(false);
m_table_view->set_font(Font::default_fixed_width_font());
m_table_view->set_alternating_row_colors(false);