fix margins

This commit is contained in:
yggverse 2024-07-25 02:33:27 +03:00
parent 1a37ddcb9c
commit f59507bbb4
2 changed files with 5 additions and 5 deletions

View file

@ -43,10 +43,6 @@ class Content
$this::MARGIN $this::MARGIN
); );
$this->gtk->set_margin_bottom(
$this::MARGIN
);
// Init scrolled window viewport // Init scrolled window viewport
$this->viewport = new Content\Viewport( $this->viewport = new Content\Viewport(
$this $this

View file

@ -32,6 +32,10 @@ class Progressbar
// Init container // Init container
$this->gtk = new GtkProgressBar; $this->gtk = new GtkProgressBar;
$this->gtk->set_margin_top(
$this::MARGIN / 4
);
$this->gtk->set_margin_start( $this->gtk->set_margin_start(
$this::MARGIN $this::MARGIN
); );
@ -41,7 +45,7 @@ class Progressbar
); );
$this->gtk->set_margin_bottom( $this->gtk->set_margin_bottom(
$this::MARGIN $this::MARGIN / 4
); );
$this->gtk->show(); // fixed block height, show always $this->gtk->show(); // fixed block height, show always