commit 8dbb5e2a870c55f84ed8fcd01273f974df1c99cc
parent 6646b7a43f46dc73d89a3a83e05fdc7ff3e34823
Author: ThomasV <electrumdev@gmail.com>
Date: Wed, 29 Apr 2015 15:20:13 +0200
Merge pull request #1172 from kyuupichan/num_wdth
Expand default BTC / fiat amount widget width.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/amountedit.py b/gui/qt/amountedit.py
@@ -18,6 +18,8 @@ class AmountEdit(MyLineEdit):
def __init__(self, base_unit, is_int = False, parent=None):
QLineEdit.__init__(self, parent)
+ # This seems sufficient for hundred-BTC amounts with 8 decimals
+ self.setFixedWidth(140)
self.base_unit = base_unit
self.textChanged.connect(self.numbify)
self.is_int = is_int