use set_propagate instead of pack

This commit is contained in:
yggverse 2024-07-06 19:21:35 +03:00
parent b32ca6ec2c
commit 5d394242f2
2 changed files with 9 additions and 5 deletions

View File

@ -52,11 +52,8 @@ class Page
$this
);
$this->gtk->pack_start(
$this->content->gtk,
true,
true,
0
$this->gtk->add(
$this->content->gtk
);
// Init statusbar

View File

@ -31,6 +31,13 @@ class Content
$this->_margin
);
$this->gtk->set_propagate_natural_height(
true
);
$this->gtk->set_propagate_natural_width(
true
);
$this->gtk->set_margin_end(
$this->_margin
);