Skip to content

Commit 229a0c2

Browse files
committed
Rename to StyledTextItem
Ignore styledtext in cpp for now Merge with master
1 parent 8bdc1bc commit 229a0c2

File tree

6 files changed

+15
-540
lines changed

6 files changed

+15
-540
lines changed

api/cpp/cbindgen.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ fn gen_corelib(
305305
"Flickable",
306306
"SimpleText",
307307
"ComplexText",
308-
"StyledText",
309308
"Path",
310309
"WindowItem",
311310
"TextInput",

internal/compiler/builtins.slint

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ component ComplexText inherits SimpleText {
120120

121121
export { ComplexText as Text }
122122

123-
export component StyledText inherits Empty {
123+
component StyledTextItem inherits Empty {
124124
in property <length> width;
125125
in property <length> height;
126126
in property <styled-text> text;
@@ -146,6 +146,8 @@ export component StyledText inherits Empty {
146146
in property <styled-text> text;
147147
}
148148

149+
export { StyledTextItem as StyledText }
150+
149151
export component TouchArea {
150152
in property <bool> enabled: true;
151153
out property <bool> pressed;

0 commit comments

Comments
 (0)