Browse Source

remove default value setter, disable set_line_wrap, enable set_track_visited_links

PHP-GTK3
yggverse 4 months ago
parent
commit
dc769fad04
  1. 17
      src/Entity/Browser/Container/Tab/Page/Content/Data.php

17
src/Entity/Browser/Container/Tab/Page/Content/Data.php

@ -14,9 +14,6 @@ class Data @@ -14,9 +14,6 @@ class Data
// Dependencies
public \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content;
// Defaults
private string $_value = '';
public function __construct(
\Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content
) {
@ -34,10 +31,20 @@ class Data @@ -34,10 +31,20 @@ class Data
true
);
/*
$this->gtk->set_line_wrap(
true
);
$this->gtk->set_line_wrap_mode(
@TODO #114
);
*/
$this->gtk->set_track_visited_links(
true
);
$this->gtk->set_xalign(
0
);
@ -46,10 +53,6 @@ class Data @@ -46,10 +53,6 @@ class Data
0
);
$this->setPlain(
$this->_value
);
$this->gtk->connect(
'activate-link',
function(

Loading…
Cancel
Save