Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout bug in hourly view #4

Open
bpisano opened this issue Jul 8, 2019 · 2 comments
Open

Layout bug in hourly view #4

bpisano opened this issue Jul 8, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@bpisano
Copy link
Owner

bpisano commented Jul 8, 2019

The labels are cut in the hourly view. I don't know if it's a SwiftUI bug or if I'm doing something wrong. I tried to put a layout priority to 1 on the labels but nothing changed.

@bpisano bpisano added the bug Something isn't working label Jul 8, 2019
@bpisano
Copy link
Owner Author

bpisano commented Aug 2, 2019

It seems to be a SwiftUI bug. The layout evolve with every beta. Waiting for a fix by Apple

@milissisg
Copy link

milissisg commented Dec 30, 2019

on CityHourlyView try the following:

                   Text(hour.time.formattedHour)
                        .font(.footnote)
                        .foregroundColor(.purple)
                        .padding([.leading, .trailing])

and set the spacing to 12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants