Mercurial > public > lazybear
diff LazyBear/Views/Global Helpers/StockItem.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 | 8357b101df67 |
children | 9b7af8e83d12 |
line wrap: on
line diff
--- a/LazyBear/Views/Global Helpers/StockItem.swift Tue Jun 08 11:46:58 2021 +0200 +++ b/LazyBear/Views/Global Helpers/StockItem.swift Wed Jun 09 10:23:52 2021 +0200 @@ -73,11 +73,14 @@ .lineLimit(1) let priceViewStyle = PriceViewStyle( - alignment: .leading, + horizontalAlignment: .leading, + verticalAlignment: .center, + orientation: .VStack, priceFont: .body, priceFontWeight: .semibold, percentFont: .callout, - percentFontWeight: .semibold + percentFontWeight: .semibold, + showBackground: false ) PriceView(latestPrice: company.latestPrice ?? 0, @@ -132,11 +135,14 @@ } let priceViewStyle = PriceViewStyle( - alignment: .leading, + horizontalAlignment: .leading, + verticalAlignment: .center, + orientation: .VStack, priceFont: .body, priceFontWeight: .semibold, percentFont: .callout, - percentFontWeight: .semibold + percentFontWeight: .semibold, + showBackground: false ) PriceView(latestPrice: company.latestPrice ?? 0,