aboutsummaryrefslogtreecommitdiff
path: root/components/Input.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-11-19 21:11:14 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:00 +0100
commite7eb3bdfefd723f3737c9e4318ec2fca06c696b4 (patch)
treec810c385853c2b1d9cbc4922ebd705234c824abc /components/Input.qml
parent5360d2c231941076a1072b6628ce1cc6e16ddf90 (diff)
downloadmonzero-gui-e7eb3bdfefd723f3737c9e4318ec2fca06c696b4.tar.gz
monzero-gui-e7eb3bdfefd723f3737c9e4318ec2fca06c696b4.tar.xz
monzero-gui-e7eb3bdfefd723f3737c9e4318ec2fca06c696b4.zip
Re-do LineEdit/Input - decoupled placeholder text
Diffstat (limited to 'components/Input.qml')
-rw-r--r--components/Input.qml22
1 files changed, 11 insertions, 11 deletions
diff --git a/components/Input.qml b/components/Input.qml
index 076fd9bc..a660ca84 100644
--- a/components/Input.qml
+++ b/components/Input.qml
@@ -26,21 +26,21 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import QtQuick.Controls 1.2
-import QtQuick.Controls.Styles 1.2
-import QtQuick 2.2
+import QtQuick.Controls 2.2
+import QtQuick 2.10
+import "." 1.0
TextField {
- font.family: "Arial"
+ font.family: Style.fontRegular.name
+ font.pixelSize: 22
horizontalAlignment: TextInput.AlignLeft
selectByMouse: true
- style: TextFieldStyle {
- textColor: "#3F3F3F"
- placeholderTextColor: "#BABABA"
+ color: "white"
- background: Rectangle {
- border.width: 0
- color: "transparent"
- }
+ background: Rectangle {
+ color: "transparent"
+ border.width: 1
+ border.color: Qt.rgba(1, 1, 1, 0.25)
+ radius: 4
}
}