-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix Toolbar spacing #311
Fix Toolbar spacing #311
Conversation
peng-u-0807
commented
Sep 4, 2024
- 친구 기기에서 TimetableScene toolbar overflow를 발견했는데 toolbar로는 해결이 어려워서 HStack으로 변경
- 관련 이미지
@@ -13,6 +13,7 @@ struct TimetableScene: View, Sendable { | |||
@State private var pushToListScene = false | |||
@State private var isShareSheetOpened = false | |||
@State private var screenshot: UIImage = .init() | |||
@State private var screenSize: CGSize = .zero |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 없앨 방법이 없을까?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
시간표 이미지를 full-screen 사이즈로 만들게 아니라서 변수를 따로 둬야하긴해
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그건 아는데 geometry reader의 위치를 바꾸든지 해서 직접 읽어오게 하면 좋을듯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
customToolBar height를 그냥 상수로 두게 바꿨어 커밋올림~!
* Fix Toolbar spacing * Apply SwiftFormat changes * Remove `screenSize` * Apply SwiftFormat changes --------- Co-authored-by: peng-u-0807 <[email protected]>