mirror of
https://codeberg.org/vyn/selenite.git
synced 2025-07-02 01:23:23 +00:00
Wrap text for Text element by default
This commit is contained in:
parent
b549a6a47c
commit
acbd56205d
1 changed files with 1 additions and 0 deletions
|
@ -2,4 +2,5 @@ import { Palette } from "Palette.slint";
|
||||||
|
|
||||||
export component VText inherits Text {
|
export component VText inherits Text {
|
||||||
color: Palette.foreground;
|
color: Palette.foreground;
|
||||||
|
wrap: word-wrap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue