allow editable scale field for manually setting the app scale value
This commit is contained in:
parent
a7fa0bf6d3
commit
b0a3c85f0e
2 changed files with 22 additions and 1 deletions
|
@ -81,7 +81,11 @@ class PreferencesDialog(Dialog):
|
|||
)
|
||||
scale.grid(row=0, column=0, sticky="ew")
|
||||
entry = ttk.Entry(
|
||||
scale_frame, textvariable=self.gui_scale, width=4, state="disabled"
|
||||
scale_frame,
|
||||
textvariable=self.gui_scale,
|
||||
width=4,
|
||||
validate="key",
|
||||
validatecommand=(self.app.validation.app_scale, "%P"),
|
||||
)
|
||||
entry.grid(row=0, column=1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue