mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
fix content position
This commit is contained in:
parent
a81dbafa10
commit
b2e7d0217f
2 changed files with 5 additions and 10 deletions
|
|
@ -52,8 +52,11 @@ class Page
|
||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->gtk->add(
|
$this->gtk->pack_start(
|
||||||
$this->content->gtk
|
$this->content->gtk,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
// Init response bar
|
// Init response bar
|
||||||
|
|
|
||||||
|
|
@ -41,14 +41,6 @@ class Content
|
||||||
$this->_margin
|
$this->_margin
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->gtk->set_propagate_natural_height( // instead of pack to parent
|
|
||||||
true
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->gtk->set_propagate_natural_width(
|
|
||||||
true
|
|
||||||
);
|
|
||||||
|
|
||||||
// Init viewport
|
// Init viewport
|
||||||
// to integrate scrolled window features for data label
|
// to integrate scrolled window features for data label
|
||||||
$this->viewport = new Viewport(
|
$this->viewport = new Viewport(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue