From b2e7d0217fd0ae1ad34f3ce1ac3df13ae66fbf52 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 04:57:06 +0300 Subject: [PATCH] fix content position --- src/Entity/Browser/Container/Tab/Page.php | 7 +++++-- src/Entity/Browser/Container/Tab/Page/Content.php | 8 -------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/Entity/Browser/Container/Tab/Page.php b/src/Entity/Browser/Container/Tab/Page.php index c3d9961e..39251329 100644 --- a/src/Entity/Browser/Container/Tab/Page.php +++ b/src/Entity/Browser/Container/Tab/Page.php @@ -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 diff --git a/src/Entity/Browser/Container/Tab/Page/Content.php b/src/Entity/Browser/Container/Tab/Page/Content.php index 508ea5c9..6895ba93 100644 --- a/src/Entity/Browser/Container/Tab/Page/Content.php +++ b/src/Entity/Browser/Container/Tab/Page/Content.php @@ -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(