mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
maximize app window by default
This commit is contained in:
parent
0db319a519
commit
ffe2cdf5a6
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue