mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
Tweak plugin-manager default window width #8079
This commit is contained in:
parent
acb8f9eb28
commit
744b85679b
1 changed files with 3 additions and 1 deletions
|
|
@ -311,10 +311,12 @@ PluginSelector::PluginSelector (PluginManager& mgr)
|
|||
VBox* to_be_inserted_vbox = manage (new VBox);
|
||||
to_be_inserted_vbox->pack_start (ascroller);
|
||||
to_be_inserted_vbox->pack_start (*add_remove, false, false);
|
||||
to_be_inserted_vbox->set_size_request (200, -1);
|
||||
|
||||
int min_width = std::max (200.f, rintf(200.f * UIConfiguration::instance().get_ui_scale()));
|
||||
int min_height = std::max (600.f, rintf(600.f * UIConfiguration::instance().get_ui_scale()));
|
||||
|
||||
to_be_inserted_vbox->set_size_request (min_width, -1);
|
||||
|
||||
Gtk::Table* table = manage(new Gtk::Table(3, 3));
|
||||
table->set_size_request(-1, min_height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue