Browse Source

fix content position

PHP-GTK3
yggverse 2 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 @@ -52,8 +52,11 @@ class Page
$this
);
$this->gtk->add(
$this->content->gtk
$this->gtk->pack_start(
$this->content->gtk,
true,
true,
0
);
// Init response bar

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

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

Loading…
Cancel
Save