Conversation
Closed
1 task
|
|
||
| private let archiveCategory: SolplyContentType | ||
| private let columns = [GridItem(.fixed(165.adjustedWidth)), GridItem(.fixed(165.adjustedWidth))] | ||
| private let columns = [GridItem(.fixed(171.adjustedWidth)), GridItem(.fixed(171.adjustedWidth))] |
Collaborator
There was a problem hiding this comment.
private let columns = [
GridItem(.fixed(165.adjustedWidth), spacing: 12.adjustedWidth),
GridItem(.fixed(165.adjustedWidth))
]요렇게도 해보셨수용?
dudwntjs
approved these changes
Nov 10, 2025
Contributor
dudwntjs
left a comment
There was a problem hiding this comment.
private let columns: [GridItem] = [
GridItem(.fixed(165.adjustedWidth), spacing: 12.adjustedWidth),
GridItem(.fixed(165.adjustedWidth), spacing: 12.adjustedWidth)
]
var body: some View {
ScrollView {
LazyVGrid(
columns: columns,
spacing: 12.adjustedHeight
) {
// 여튼 이런식으로...
}
}가로 간격은 GridItem.spacing, 세로 간격은 LazyVGrid(spacing:) 넣는 게 어떠신지!!!!!!
사실 잘되는 지는 확인 안해봣는데 수수수수수용은 할 수 잇으삼
Collaborator
|
좋은디요 👍🏻 @dudwntjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 작업 내용
💻 주요 코드 설명
그리드 프레임 크기 조절
Figma에는 프레임의 크기가 165고 그 사이 간격이 12인데여...! 그래서 각 프레임마다 6의 크기를 늘려서 그 사이 간격을 추가했어요
근데.... 스유에서 이 그리드를 잘 모르겠어여 그냥 165로 해도 사이에 간격이 있긴한디!!
🔗 연결된 이슈