mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
Replace TextEdit with LineEdit
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user