Set a larger minimum size for recent session scrollers.

This commit is contained in:
nick_m 2015-10-25 04:07:19 +11:00
parent a50af45a14
commit 663dd1cf2c
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,7 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name,
if (recent_session_model) {
int cnt = redisplay_recent_sessions ();
if (cnt > 0) {
recent_scroller.set_size_request (-1, 80);
recent_scroller.show();
recent_label.show ();
@ -177,6 +178,8 @@ SessionDialog::SessionDialog ()
get_vbox()->pack_start (recent_scroller, true, true);
get_vbox()->show_all ();
recent_scroller.set_size_request (-1, 80);
recent_scroller.show();
int cnt = redisplay_recent_sessions ();