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.
📌 Summary
Switch 컴포넌트를 만들었습니다.
근데 원래 Switch는 특정한 크기로 크기를 변환할 수 없습니다.
그 대신 크기 비율을 조절할 수 있어서 비율을 설정하여 크기를 변화시키도록 하였습니다.
✍️ Description
closed: #19
💡 PR Point
비율로 크기 조절을 하였는데
해당 Switch 요소를 VC에서 만들어서 사용하면 원래 크기를 기준으로 레이아웃이 적용됩니다.
그래서 지금은 원래 위치에서 특정값을 마이너스하여 위치를 조정하였습니다.
다른 컴포넌트 만들고 해당 문제 다시 해결해보겠습니다!!! 혹시 문제 원인을 아시는 분들은 댓글에 남겨주세요!
📚 Reference
🔥 Test