Skip to content
Snippets Groups Projects
Commit 03b1c923 authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by François Cartegnie
Browse files

qml/TeletextWidget: Add an IntValidator and a fixed SpinBox width

parent 135cc667
No related branches found
No related tags found
Loading
......@@ -97,8 +97,18 @@ T.Pane {
Widgets.SpinBoxExt{
id: telePageNumber
// NOTE: We want a fixed size for the TextInput.
width: VLCStyle.dp(64, VLCStyle.scale)
from: 100
to: 899
validator: IntValidator {
bottom: telePageNumber.from
top: telePageNumber.to
}
editable: true
textColor: colors.text
bgColor: colors.bg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment