mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
show tab tooltip only on title value longer than length limit
This commit is contained in:
parent
506bcac745
commit
9c05de981a
1 changed files with 2 additions and 3 deletions
|
|
@ -53,9 +53,8 @@ class Title
|
|||
);
|
||||
|
||||
$this->gtk->set_tooltip_text(
|
||||
is_null($tooltip) ? $value : trim(
|
||||
$tooltip
|
||||
)
|
||||
is_null($tooltip) ? (mb_strlen(strval($value)) > $this->_length ? $value : null)
|
||||
: trim($tooltip)
|
||||
);
|
||||
|
||||
$this->setSubtitle(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue