mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix margins
This commit is contained in:
parent
1a37ddcb9c
commit
f59507bbb4
2 changed files with 5 additions and 5 deletions
|
|
@ -43,10 +43,6 @@ class Content
|
|||
$this::MARGIN
|
||||
);
|
||||
|
||||
$this->gtk->set_margin_bottom(
|
||||
$this::MARGIN
|
||||
);
|
||||
|
||||
// Init scrolled window viewport
|
||||
$this->viewport = new Content\Viewport(
|
||||
$this
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@ class Progressbar
|
|||
// Init container
|
||||
$this->gtk = new GtkProgressBar;
|
||||
|
||||
$this->gtk->set_margin_top(
|
||||
$this::MARGIN / 4
|
||||
);
|
||||
|
||||
$this->gtk->set_margin_start(
|
||||
$this::MARGIN
|
||||
);
|
||||
|
|
@ -41,7 +45,7 @@ class Progressbar
|
|||
);
|
||||
|
||||
$this->gtk->set_margin_bottom(
|
||||
$this::MARGIN
|
||||
$this::MARGIN / 4
|
||||
);
|
||||
|
||||
$this->gtk->show(); // fixed block height, show always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue