various UI
This commit is contained in:
@@ -27,6 +27,7 @@ GridLayout {
|
||||
TextArea {
|
||||
id: infotext
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumHeight: constants.iconSizeLarge + 2*constants.paddingLarge
|
||||
readOnly: true
|
||||
rightPadding: constants.paddingLarge
|
||||
leftPadding: 2*constants.iconSizeLarge
|
||||
|
||||
@@ -20,6 +20,7 @@ ApplicationWindow
|
||||
Material.theme: Material.Dark
|
||||
Material.primary: Material.Indigo
|
||||
Material.accent: Material.LightBlue
|
||||
font.pixelSize: constants.fontSizeMedium
|
||||
|
||||
property Item constants: appconstants
|
||||
Constants { id: appconstants }
|
||||
|
||||
@@ -112,7 +112,7 @@ class QEFX(QObject):
|
||||
return ''
|
||||
except:
|
||||
return ''
|
||||
dt = datetime.fromtimestamp(td)
|
||||
dt = datetime.fromtimestamp(int(td))
|
||||
if plain:
|
||||
return self.fx.ccy_amount_str(self.fx.historical_value(satoshis, dt), False)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user