Browse Source

fix content position

PHP-GTK3
yggverse 4 months ago
parent
commit
b2e7d0217f
  1. 7
      src/Entity/Browser/Container/Tab/Page.php
  2. 8
      src/Entity/Browser/Container/Tab/Page/Content.php

7
src/Entity/Browser/Container/Tab/Page.php

@ -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

8
src/Entity/Browser/Container/Tab/Page/Content.php

@ -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(

Loading…
Cancel
Save