ui workarounds

This commit is contained in:
ouwou
2020-11-10 01:00:53 -05:00
parent 976e653393
commit 823e1786e0
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ ChatWindow::ChatWindow() {
});
m_scroll->set_can_focus(false);
m_scroll->set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_ALWAYS);
m_scroll->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS);
m_list->signal_size_allocate().connect([this](Gtk::Allocation &) {
if (m_should_scroll_to_bottom)