mirror of
https://github.com/ShowFL/Toou-2D.git
synced 2026-10-17 05:07:00 +08:00
45 lines
883 B
QML
45 lines
883 B
QML
import QtQuick 2.6
|
|
import Toou2D 1.0
|
|
|
|
Column{
|
|
spacing: 10;
|
|
Row{
|
|
spacing: 30
|
|
|
|
TInputField{
|
|
width: 180;
|
|
placeholderLabel.text: "Default Input"
|
|
}
|
|
|
|
TInputField{
|
|
width: 180;
|
|
placeholderIcon.source: TAwesomeType.FA_search
|
|
placeholderLabel.text: "Icon Placeholder"
|
|
}
|
|
|
|
}
|
|
|
|
|
|
Row{
|
|
spacing: 30
|
|
|
|
TInputField{
|
|
width: 180;
|
|
background.radius: height/2
|
|
placeholderIcon.source: TAwesomeType.FA_pencil
|
|
placeholderLabel.text: "Left Align"
|
|
placeholderPosition: TPosition.Left;
|
|
}
|
|
|
|
TInputField{
|
|
width: 180;
|
|
background.radius: height/2
|
|
placeholderIcon.source: TAwesomeType.FA_inbox
|
|
text: "Clearn Input"
|
|
clearable: true
|
|
}
|
|
|
|
}
|
|
|
|
}
|