Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/GWallet.Frontend.XF/FrontendHelpers.fs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,12 @@ module FrontendHelpers =
normalCryptoBalanceClassId,readonlyCryptoBalanceClassId

let CreateCurrencyBalanceFrame currency (cryptoLabel: Label) (fiatLabel: Label) currencyLogoImg classId =
let colorBoxWidth = 10.
let colorBoxWidth =
if Device.RuntimePlatform = Device.GTK then
// Because on GTK for some reason it's narrower than it should be, so we increase width for it to show up
20.
else
10.

let stackLayout = StackLayout(Orientation = StackOrientation.Horizontal,
Padding = Thickness(20., 20., colorBoxWidth + 10., 20.))
Expand Down