Mercurial > public > lazybear
diff LazyBear/Views/Company/Chart.swift @ 413:2984d8946342
Minor UI changes
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 09 Jun 2021 10:23:52 +0200 |
parents | a7c9dd0c5822 |
children | 34f9e408b861 |
line wrap: on
line diff
--- a/LazyBear/Views/Company/Chart.swift Tue Jun 08 11:46:58 2021 +0200 +++ b/LazyBear/Views/Company/Chart.swift Wed Jun 09 10:23:52 2021 +0200 @@ -38,11 +38,14 @@ let latestPrice = quote.latestPrice ?? 0 let changePercent = quote.changePercent ?? 0 let priceViewStyle = PriceViewStyle( - alignment: .leading, + horizontalAlignment: .leading, + verticalAlignment: .center, + orientation: .HStack, priceFont: .title3, priceFontWeight: .semibold, percentFont: .headline, - percentFontWeight: .medium + percentFontWeight: .medium, + showBackground: true ) PriceView(latestPrice: latestPrice, changePercent: changePercent, style: priceViewStyle) }