Browse Source

use set_propagate instead of pack

PHP-GTK3
yggverse 3 months ago
parent
commit
5d394242f2
  1. 7
      src/Entity/Browser/Container/Tab/Page.php
  2. 7
      src/Entity/Browser/Container/Tab/Page/Content.php

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

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

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

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

Loading…
Cancel
Save