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