Browse Source

trim spaces on setTitle

PHP-GTK3
yggverse 4 months ago
parent
commit
08f09e4a5c
  1. 4
      src/Entity/Window/Header.php

4
src/Entity/Window/Header.php

@ -37,7 +37,9 @@ class Header @@ -37,7 +37,9 @@ class Header
$this->gtk->set_title(
is_null($title) ? $this->_title : sprintf(
'%s - %s',
$title,
trim(
$title
),
$this->_title
)
);

Loading…
Cancel
Save