From f38aab09063f09d7a52613f2e0438d4606b67638 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 03:46:24 +0300 Subject: [PATCH] stick status bar to footer --- 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 e41f8029..2b70a7f2 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 statusbar diff --git a/src/Entity/Browser/Container/Tab/Page/Content.php b/src/Entity/Browser/Container/Tab/Page/Content.php index a9b95ebe..205b5b34 100644 --- a/src/Entity/Browser/Container/Tab/Page/Content.php +++ b/src/Entity/Browser/Container/Tab/Page/Content.php @@ -37,14 +37,6 @@ class Content $this->_margin ); - $this->gtk->set_propagate_natural_height( - true - ); - - $this->gtk->set_propagate_natural_width( - true - ); - // Init viewport // to integrate scrolled window features for data label $this->viewport = new Viewport(