Fixed bugs with non-correct update of buttons enable.

Set minimum size for the scrolled_window_panel.
This commit is contained in:
YuSanka 2018-05-21 12:34:31 +02:00
parent 308a0b5709
commit 64b905820d
2 changed files with 2 additions and 1 deletions

View file

@ -230,6 +230,7 @@ sub new {
### Scrolled Window for info boxes
my $scrolled_window_sizer = Wx::BoxSizer->new(wxVERTICAL);
$scrolled_window_sizer->SetMinSize([310, -1]);
my $scrolled_window_panel = Wx::ScrolledWindow->new($self->{right_panel}, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
$scrolled_window_panel->SetSizer($scrolled_window_sizer);
$scrolled_window_panel->SetScrollbars(1, 1, 1, 1);