Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
easy-media-controller
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mihkevich
easy-media-controller
Commits
0aeb938c
Commit
0aeb938c
authored
Dec 21, 2021
by
mihkevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix size and remove error message box
parent
afccc4f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
main.py
main.py
+4
-4
No files found.
main.py
View file @
0aeb938c
...
@@ -27,11 +27,11 @@ class App(tkinter.Tk):
...
@@ -27,11 +27,11 @@ class App(tkinter.Tk):
self
.
geometry
(
"1400x100+280+300"
)
self
.
geometry
(
"1400x100+280+300"
)
self
.
grid
()
self
.
grid
()
lbl
=
ttk
.
Label
(
self
,
text
=
"ВВЕДИТЕ КОД НУЖНОЙ ЗАПИСИ"
,
font
=
"Helvetica
3
2 bold"
,
padding
=
10
)
.
grid
(
column
=
0
,
row
=
0
)
lbl
=
ttk
.
Label
(
self
,
text
=
"ВВЕДИТЕ КОД НУЖНОЙ ЗАПИСИ"
,
font
=
"Helvetica
5
2 bold"
,
padding
=
10
)
.
grid
(
column
=
0
,
row
=
0
)
self
.
command
=
tkinter
.
StringVar
()
self
.
command
=
tkinter
.
StringVar
()
self
.
entry
=
ttk
.
Entry
(
self
,
textvariable
=
self
.
command
,
font
=
"Helvetica
3
2"
)
self
.
entry
=
ttk
.
Entry
(
self
,
textvariable
=
self
.
command
,
font
=
"Helvetica
5
2"
)
self
.
entry
.
grid
(
column
=
1
,
row
=
0
)
self
.
entry
.
grid
(
column
=
1
,
row
=
0
)
self
.
entry
.
focus
()
self
.
entry
.
focus
()
...
@@ -63,8 +63,8 @@ class App(tkinter.Tk):
...
@@ -63,8 +63,8 @@ class App(tkinter.Tk):
return
return
log
.
info
(
"Запись не найдена"
)
log
.
info
(
"Запись не найдена"
)
messagebox
.
showwarning
(
"ВНИМАНИЕ"
,
#
messagebox.showwarning("ВНИМАНИЕ",
"ЗАПИСЬ ПО КОМАНДЕ '{}' НЕ НАЙДЕНА"
.
format
(
self
.
command
.
get
()))
#
"ЗАПИСЬ ПО КОМАНДЕ '{}' НЕ НАЙДЕНА".format(self.command.get()))
self
.
command
.
set
(
""
)
self
.
command
.
set
(
""
)
def
handle_esc
(
self
,
arg
):
def
handle_esc
(
self
,
arg
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment