Browse Source

Horizontal scrollbar on selection dialogs are no longer hidden

pipelines/235045657
eidheim 5 years ago
parent
commit
1055442772
  1. 2
      src/selection_dialog.cpp

2
src/selection_dialog.cpp

@ -88,8 +88,6 @@ SelectionDialogBase::SelectionDialogBase(Gtk::TextView *text_view, const boost::
row_width = this->text_view->get_width() * 2 / 3; row_width = this->text_view->get_width() * 2 / 3;
else if(row_width > application_window->get_width() / 2) else if(row_width > application_window->get_width() / 2)
row_width = application_window->get_width() / 2; row_width = application_window->get_width() / 2;
else
scrolled_window.set_policy(Gtk::PolicyType::POLICY_NEVER, Gtk::PolicyType::POLICY_AUTOMATIC);
if(this->show_search_entry) if(this->show_search_entry)
window_height += search_entry.get_height(); window_height += search_entry.get_height();

Loading…
Cancel
Save