Skip to content

Commit

Permalink
fix amount spinbox and send coins entry
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Jun 11, 2019
1 parent 6952050 commit 2b137f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/qt/bitcoinamountfield.cpp
Expand Up @@ -25,7 +25,7 @@ class AmountSpinBox: public QAbstractSpinBox
explicit AmountSpinBox(QWidget *parent):
QAbstractSpinBox(parent),
currentUnit(BitcoinUnits::BTC),
singleStep(100000) // satoshis
singleStep(10000) // satoshis
{
setAlignment(Qt::AlignRight);

Expand Down
16 changes: 8 additions & 8 deletions src/qt/res/themes/default.qss
Expand Up @@ -57,46 +57,46 @@ QLineEdit, QTextEdit, QPlainTextEdit {
border: 1px solid #666666;
}

QSpinBox, QDoubleSpinBox {
AmountSpinBox, QDoubleSpinBox {
background: #ffffff;
border-radius: 0px;
border: 1px solid #666666;
padding: 0px;
}

/* Up and down values eg. PPC units on send */
QSpinBox::up-button, QDoubleSpinBox::up-button {
AmountSpinBox::up-button, QDoubleSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;
background: #ffffff;
color: #ffffff;
border: 1px solid #8C8C8C;
}

QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover {
AmountSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover {
background: #E3E3E3;
}

QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
AmountSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
image: url(:/controls/caret-up);
width: 7px;
height: 7px;
}

QSpinBox::down-button, QDoubleSpinBox::down-button {
AmountSpinBox::down-button, QDoubleSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right; /* position at bottom right corner */
background: #ffffff;
color: #ffffff;
border: 1px solid #666666;
}

QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover {
AmountSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover {
background: #E3E3E3;
}


QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
AmountSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
image: url(:/controls/caret-down);
width: 7px;
height: 7px;
Expand Down Expand Up @@ -283,7 +283,7 @@ QDialog#SendCoinsDialog QLabel#labelBalance {
}

QFrame#SendCoinsEntry {
background: #E3E3E3;
background-image: url(:/images/transparent);
}

/* Multisig Page */
Expand Down

0 comments on commit 2b137f3

Please sign in to comment.