Skip to content

Commit

Permalink
[fix]-[창크기가 변경이 불가능하여 글자 폰트크기를 줄여 해결]
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdusgodh committed May 19, 2020
1 parent e04501a commit 703a978
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BlackJackV1/BlackJackV1.1.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
root.wm_title("블랙잭") #한글로 제목 수정

#게임내 폰트및 크기, 버튼 폰트및 크기 수정
game_font = tkinter.font.Font(family="맑은 고딕", size=18)
button_font = tkinter.font.Font(family="궁서체", size=20)
game_font = tkinter.font.Font(family="맑은 고딕", size=10)
button_font = tkinter.font.Font(family="궁서체", size=10)

#Creating a window

root.resizable(False, False) #게임 사이즈 변경 불가
root.minsize(900,400) #사이즈 수정필요
#root.resizable(False, False) #게임 사이즈 변경 불가
root.minsize(300,150) #사이즈 수정필요


#Creating 2 frames

frameup=Frame(root,width=400,height=200)
frameup=Frame(root,width=300,height=100)
frameup.pack()

framedown =Frame(root,width=400,height=100)
framedown =Frame(root,width=300,height=100)
framedown.pack()
#Creating text boxe in frameup

Expand Down

0 comments on commit 703a978

Please sign in to comment.