diff --git a/docs/astro/src/content/docs/reference/std-widgets/views/textedit.mdx b/docs/astro/src/content/docs/reference/std-widgets/views/textedit.mdx index 3e51ed7efe9..ee04d9a9779 100644 --- a/docs/astro/src/content/docs/reference/std-widgets/views/textedit.mdx +++ b/docs/astro/src/content/docs/reference/std-widgets/views/textedit.mdx @@ -35,6 +35,11 @@ Similar to , but can be used to enter several lines of t The size of the font of the input text. +### font-family + +The name of the font family selected for rendering the text. + + ### text The text being edited diff --git a/internal/compiler/widgets/common/textedit-base.slint b/internal/compiler/widgets/common/textedit-base.slint index 02fde68bda6..98316a866de 100644 --- a/internal/compiler/widgets/common/textedit-base.slint +++ b/internal/compiler/widgets/common/textedit-base.slint @@ -10,6 +10,7 @@ export component TextEditBase inherits Rectangle { in property horizontal-alignment <=> text-input.horizontal-alignment; in property read-only <=> text-input.read-only; in property font-size <=> text-input.font-size; + in property font-family <=> text-input.font-family; in property enabled <=> text-input.enabled; out property has-focus: text-input.has-focus; out property visible-width <=> scroll-view.visible-width; diff --git a/internal/compiler/widgets/cosmic/textedit.slint b/internal/compiler/widgets/cosmic/textedit.slint index 12444e77b44..2a82834b5f2 100644 --- a/internal/compiler/widgets/cosmic/textedit.slint +++ b/internal/compiler/widgets/cosmic/textedit.slint @@ -10,6 +10,7 @@ export component TextEdit { in property horizontal-alignment <=> base.horizontal-alignment; in property read-only <=> base.read-only; in property font-size <=> base.font-size; + in property font-family <=> base.font-family; in property enabled <=> base.enabled; in property placeholder-text <=> base.placeholder-text; out property has-focus: base.has-focus; diff --git a/internal/compiler/widgets/cupertino/textedit.slint b/internal/compiler/widgets/cupertino/textedit.slint index ba07478773b..8b50c3886ae 100644 --- a/internal/compiler/widgets/cupertino/textedit.slint +++ b/internal/compiler/widgets/cupertino/textedit.slint @@ -64,6 +64,7 @@ export component TextEdit { in property horizontal-alignment <=> text-input.horizontal-alignment; in property read-only <=> text-input.read-only; in property font-size <=> text-input.font-size; + in property font-family <=> text-input.font-family; in property enabled <=> text-input.enabled; out property visible-width <=> scroll-view.visible-width; out property visible-height <=> scroll-view.visible-height; diff --git a/internal/compiler/widgets/fluent/textedit.slint b/internal/compiler/widgets/fluent/textedit.slint index 003d999aae6..5829827a7e2 100644 --- a/internal/compiler/widgets/fluent/textedit.slint +++ b/internal/compiler/widgets/fluent/textedit.slint @@ -10,6 +10,7 @@ export component TextEdit { in property horizontal-alignment <=> base.horizontal-alignment; in property read-only <=> base.read-only; in property font-size <=> base.font-size; + in property font-family <=> base.font-family; in property enabled <=> base.enabled; in property placeholder-text <=> base.placeholder-text; out property has-focus: base.has-focus; diff --git a/internal/compiler/widgets/material/textedit.slint b/internal/compiler/widgets/material/textedit.slint index f43c36618fb..393f5ffece2 100644 --- a/internal/compiler/widgets/material/textedit.slint +++ b/internal/compiler/widgets/material/textedit.slint @@ -10,6 +10,7 @@ export component TextEdit { in property horizontal-alignment <=> base.horizontal-alignment; in property read-only <=> base.read-only; in property font-size <=> base.font-size; + in property font-family <=> base.font-family; in property enabled <=> base.enabled; in property placeholder-text <=> base.placeholder-text; out property has-focus: base.has-focus; diff --git a/internal/compiler/widgets/qt/textedit.slint b/internal/compiler/widgets/qt/textedit.slint index c4a9a0503d9..4a1bf503101 100644 --- a/internal/compiler/widgets/qt/textedit.slint +++ b/internal/compiler/widgets/qt/textedit.slint @@ -9,6 +9,7 @@ export component TextEdit { in property horizontal-alignment <=> base.horizontal-alignment; in property read-only <=> base.read-only; in property font-size <=> base.font-size; + in property font-family <=> base.font-family; in property enabled <=> base.enabled; in property placeholder-text <=> base.placeholder-text; out property has-focus: base.has-focus;