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

[#19] HandySwitch 생성 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[#19] HandySwitch 생성 #23

wants to merge 1 commit into from

Conversation

LeeJoEun-01
Copy link
Contributor

📌 Summary

Switch 컴포넌트를 만들었습니다.
근데 원래 Switch는 특정한 크기로 크기를 변환할 수 없습니다.
그 대신 크기 비율을 조절할 수 있어서 비율을 설정하여 크기를 변화시키도록 하였습니다.

✍️ Description

closed: #19

💡 PR Point

비율로 크기 조절을 하였는데
해당 Switch 요소를 VC에서 만들어서 사용하면 원래 크기를 기준으로 레이아웃이 적용됩니다.
그래서 지금은 원래 위치에서 특정값을 마이너스하여 위치를 조정하였습니다.

다른 컴포넌트 만들고 해당 문제 다시 해결해보겠습니다!!! 혹시 문제 원인을 아시는 분들은 댓글에 남겨주세요!

📚 Reference

🔥 Test

Simulator Screen Recording - iPhone 14 - 2024-10-09 at 09 49 26

@LeeJoEun-01 LeeJoEun-01 added the feat 💜 새로운 기능 구현 label Oct 9, 2024
@LeeJoEun-01 LeeJoEun-01 self-assigned this Oct 9, 2024
@LeeJoEun-01 LeeJoEun-01 changed the title [#19] Switch 생성 [#19] HandySwitch 생성 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 💜 새로운 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] HandySwitch 만들기
1 participant