mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
use set_propagate instead of pack
This commit is contained in:
parent
b32ca6ec2c
commit
5d394242f2
2 changed files with 9 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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…
Add table
Add a link
Reference in a new issue