Replace TextEdit with LineEdit

This commit is contained in:
2026-01-03 21:06:42 +01:00
parent d73510c52e
commit d739f53ce7
+5 -3
View File
@@ -2,10 +2,10 @@ import {
TabWidget,
AboutSlint,
Button,
LineEdit,
ListView,
CheckBox,
ScrollView,
TextEdit,
GridBox,
} from "std-widgets.slint";
import { SettingsView } from "settings.slint";
@@ -108,8 +108,10 @@ component AddView inherits VerticalLayout {
}
HorizontalLayout {
height: 50pt;
input := TextEdit { }
height: 42px;
input := LineEdit {
font-size: 20px;
}
Rectangle {
width: 4pt; // spacing