mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 01:57:00 +02:00
HMD tweaks
This commit is contained in:
parent
b3e3af4ee7
commit
0d137d62c8
1 changed files with 3 additions and 3 deletions
|
@ -739,7 +739,7 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
id: amountContainer;
|
id: amountContainer;
|
||||||
anchors.top: sendToContainer.bottom;
|
anchors.top: sendToContainer.bottom;
|
||||||
anchors.topMargin: 16;
|
anchors.topMargin: 2;
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.leftMargin: 20;
|
anchors.leftMargin: 20;
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
|
@ -807,7 +807,7 @@ Item {
|
||||||
anchors.leftMargin: 20;
|
anchors.leftMargin: 20;
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
anchors.rightMargin: 20;
|
anchors.rightMargin: 20;
|
||||||
height: 180;
|
height: 140;
|
||||||
|
|
||||||
FontLoader { id: firaSansSemiBold; source: "../../../../../fonts/FiraSans-SemiBold.ttf"; }
|
FontLoader { id: firaSansSemiBold; source: "../../../../../fonts/FiraSans-SemiBold.ttf"; }
|
||||||
TextArea {
|
TextArea {
|
||||||
|
@ -833,7 +833,6 @@ Item {
|
||||||
activeFocusOnTab: true;
|
activeFocusOnTab: true;
|
||||||
// Workaround for no max length on TextAreas
|
// Workaround for no max length on TextAreas
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
optionalMessageCharacterCount.text = optionalMessage.text.length + "/" + optionalMessage.maximumLength;
|
|
||||||
if (text.length > maximumLength) {
|
if (text.length > maximumLength) {
|
||||||
var cursor = cursorPosition;
|
var cursor = cursorPosition;
|
||||||
text = previousText;
|
text = previousText;
|
||||||
|
@ -848,6 +847,7 @@ Item {
|
||||||
}
|
}
|
||||||
RalewaySemiBold {
|
RalewaySemiBold {
|
||||||
id: optionalMessageCharacterCount;
|
id: optionalMessageCharacterCount;
|
||||||
|
text: optionalMessage.text.length + "/" + optionalMessage.maximumLength;
|
||||||
// Anchors
|
// Anchors
|
||||||
anchors.top: optionalMessage.bottom;
|
anchors.top: optionalMessage.bottom;
|
||||||
anchors.topMargin: 2;
|
anchors.topMargin: 2;
|
||||||
|
|
Loading…
Reference in a new issue