fix content position

This commit is contained in:
yggverse 2024-07-08 04:57:06 +03:00
parent a81dbafa10
commit b2e7d0217f
2 changed files with 5 additions and 10 deletions

View file

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

View file

@ -41,14 +41,6 @@ class Content
$this->_margin $this->_margin
); );
$this->gtk->set_propagate_natural_height( // instead of pack to parent
true
);
$this->gtk->set_propagate_natural_width(
true
);
// Init viewport // Init viewport
// to integrate scrolled window features for data label // to integrate scrolled window features for data label
$this->viewport = new Viewport( $this->viewport = new Viewport(