From 64ab3253562be80e726b3d69e4c3e556b055c965 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 17 Nov 2018 15:20:49 +0100 Subject: Auto reload css on modify, improve design --- src/RoomSettingsWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/RoomSettingsWindow.cpp') diff --git a/src/RoomSettingsWindow.cpp b/src/RoomSettingsWindow.cpp index e20e36e..8bc9329 100644 --- a/src/RoomSettingsWindow.cpp +++ b/src/RoomSettingsWindow.cpp @@ -16,6 +16,7 @@ namespace dchat sidePanels->get_style_context()->add_class("side-panels"); sidePanels->set_vexpand(true); sidePanels->set_hexpand(true); + sidePanels->set_wide_handle(true); attach(*sidePanels, 0, 0, 1, 1); setupLeftPanel(sidePanels); @@ -35,8 +36,8 @@ namespace dchat { Gtk::Grid *leftPanel = Gtk::manage(new Gtk::Grid()); leftPanel->set_vexpand(true); - leftPanel->set_valign(Gtk::ALIGN_START); - leftPanel->set_halign(Gtk::ALIGN_START); + //leftPanel->set_valign(Gtk::ALIGN_START); + //leftPanel->set_halign(Gtk::ALIGN_START); leftPanel->set_size_request(200); leftPanel->get_style_context()->add_class("left-panel"); sidePanels->add1(*leftPanel); -- cgit v1.2.3