mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
GTableView: Add a way to turn off alternating row colors.
This commit is contained in:
parent
491aa112ab
commit
b54ab06595
5 changed files with 15 additions and 7 deletions
|
@ -49,6 +49,7 @@ void IRCAppWindow::setup_widgets()
|
|||
|
||||
auto* window_list = new GTableView(widget);
|
||||
window_list->set_headers_visible(false);
|
||||
window_list->set_alternating_row_colors(false);
|
||||
window_list->set_model(OwnPtr<IRCClientWindowListModel>(m_client.client_window_list_model()));
|
||||
window_list->set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
|
||||
window_list->set_preferred_size({ 120, 0 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue