tMerge pull request #1172 from kyuupichan/num_wdth - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8dbb5e2a870c55f84ed8fcd01273f974df1c99cc DIR parent 6646b7a43f46dc73d89a3a83e05fdc7ff3e34823 HTML 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: M gui/qt/amountedit.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/amountedit.py b/gui/qt/amountedit.py t@@ -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