maximize app window by default

This commit is contained in:
yggverse 2024-07-05 04:12:52 +03:00
parent 0db319a519
commit ffe2cdf5a6

View file

@ -20,6 +20,8 @@ class Window
private int $_width = 640;
private int $_height = 480;
private bool $_maximize = true;
public function __construct(
\Yggverse\Yoda\Model\Database $database
) {
@ -32,6 +34,11 @@ class Window
$this->_height
);
if ($this->_maximize)
{
$this->gtk->maximize();
}
$this->header = new Header(
$this
);