Kivy 시작하기 8 (하단 버튼 만들기)
사용 버전: Python 3.6.8, Kivy 1.11.1
사용 프로그램: Atom 1.42.0 x64
이번 시간에는 For Button 영역에 버튼 2 개를 추가해보도록 하겠습니다.

For Button 영역을 다음과 같이 변경해줍니다.


버튼이 너무 크게 생겼네요.
크기를 줄여줍니다.


너무 벽에 딱 달라붙어있는 것 같으니, 조금 띄어줍니다.
padding 속성은 Boxlayout과 내용물 사이의 간격을 정할 수 있습니다. [가로, 세로]


이것으로 버튼이 완성되었습니다.
Location 버튼에 기능을 구현해 보겠습니다.
코드:
https://github.com/shwoghk14/Kivy_for_Starter
앱:
https://play.google.com/store/apps/details?id=starlight.jaehwa.one
끝.
사용 프로그램: Atom 1.42.0 x64
기획: URL 소스 자료를 내 컴퓨터에 저장하는 앱.
이번 시간에는 For Button 영역에 버튼 2 개를 추가해보도록 하겠습니다.

For Button 영역을 다음과 같이 변경해줍니다.


버튼이 너무 크게 생겼네요.
크기를 줄여줍니다.


너무 벽에 딱 달라붙어있는 것 같으니, 조금 띄어줍니다.
padding 속성은 Boxlayout과 내용물 사이의 간격을 정할 수 있습니다. [가로, 세로]


이것으로 버튼이 완성되었습니다.
Location 버튼에 기능을 구현해 보겠습니다.
코드:
https://github.com/shwoghk14/Kivy_for_Starter
앱:
https://play.google.com/store/apps/details?id=starlight.jaehwa.one
끝.
카테고리: BlackSmith, Kivy
댓글
댓글 쓰기
궁금한 점은 댓글 달아주세요.
Comment if you have any questions.