Previous behavior for Profile Panel's combobox size restored

See issue #3300 and #3446.
This commit is contained in:
Hombre
2016-11-17 20:09:31 +01:00
parent 0ab931c287
commit 7209f4f1c9
5 changed files with 78 additions and 2 deletions

View File

@@ -516,6 +516,7 @@ ProfileStoreLabel::ProfileStoreLabel(const ProfileStoreEntry *entry) : Gtk::Labe
ProfileStoreComboBox::ProfileStoreComboBox ()
{
updateProfileList();
setPreferredWidth(50, 120);
Gtk::CellRendererText* cellRenderer = dynamic_cast<Gtk::CellRendererText*>(get_first_cell());
cellRenderer->property_ellipsize() = Pango::ELLIPSIZE_MIDDLE;
cellRenderer->property_ellipsize_set() = true;