Skip to content

Commit

Permalink
调整UI尺寸
Browse files Browse the repository at this point in the history
Co-Authored-By: 仑质 <[email protected]>
  • Loading branch information
MetaLe0 and lunzhiPenxil committed Aug 6, 2024
1 parent 1ee92dc commit 8e6980f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions OlivOS/nativeGUI/nativeWinUIAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -1293,7 +1293,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down Expand Up @@ -1540,7 +1540,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -1637,7 +1637,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down Expand Up @@ -1841,7 +1841,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -1938,7 +1938,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down Expand Up @@ -2120,7 +2120,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -2217,7 +2217,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down Expand Up @@ -2398,7 +2398,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -2495,7 +2495,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down Expand Up @@ -2722,7 +2722,7 @@ def start(self):
padx=(0, 15),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=2
)

self.UIObject['root'].iconbitmap('./resource/tmp_favoricon.ico')
Expand Down Expand Up @@ -3357,7 +3357,7 @@ def start(self):
padx=(15, 0),
pady=(8, 15),
ipadx=0,
ipady=0
ipady=4
)

self.root_Button_init(
Expand Down Expand Up @@ -3464,7 +3464,7 @@ def root_Entry_init(self, obj_root, obj_name, str_name, x, y, width_t, width, he
self.UIObject[obj_name] = tkinter.Entry(
self.UIObject[obj_root],
textvariable=self.UIData[str_name],
font=('TkDefaultFont 18')
font=('TkDefaultFont 12')
)
self.UIObject[obj_name].configure(
bg=self.UIConfig['color_004'],
Expand Down

0 comments on commit 8e6980f

Please sign in to comment.