Skip to content

Commit

Permalink
Modifies the placeholder text
Browse files Browse the repository at this point in the history
Signed-off-by: Voldivh <eloyabmfcv@gmail.com>
  • Loading branch information
Voldivh committed Sep 20, 2023
1 parent 1c70799 commit ba589e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gz/gui/qml/GzSpinBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
import QtQuick 2.9
import QtQuick.Controls 2.15
import QtQuick.Controls.Styles 2.15

Item {
id: gzSpinBoxItem
Expand All @@ -33,7 +32,8 @@ Item {

TextField {
id: numberField
placeholderText: "0.0"
placeholderText: gzSpinBoxItem.value
horizontalAlignment: TextInput.AlignHCenter
validator: DoubleValidator{bottom: gzSpinBoxItem.minimumValue;
top: gzSpinBoxItem.maximumValue;
decimals: gzSpinBoxItem.decimals;
Expand Down

0 comments on commit ba589e0

Please sign in to comment.