add ui font change
This commit is contained in:
3
VRCT.py
3
VRCT.py
@@ -273,6 +273,7 @@ class ToplevelWindowConfig(customtkinter.CTkToplevel):
|
|||||||
self.tabview_config.tab("Transcription").grid_columnconfigure(1, weight=1)
|
self.tabview_config.tab("Transcription").grid_columnconfigure(1, weight=1)
|
||||||
self.tabview_config.tab("Parameter").grid_columnconfigure(1, weight=1)
|
self.tabview_config.tab("Parameter").grid_columnconfigure(1, weight=1)
|
||||||
self.tabview_config._segmented_button.configure(font=customtkinter.CTkFont(family=self.parent.FONT_FAMILY))
|
self.tabview_config._segmented_button.configure(font=customtkinter.CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
self.tabview_config._segmented_button.grid(sticky="W")
|
||||||
|
|
||||||
# tab UI
|
# tab UI
|
||||||
## slider transparency
|
## slider transparency
|
||||||
@@ -748,9 +749,11 @@ class ToplevelWindowConfig(customtkinter.CTkToplevel):
|
|||||||
|
|
||||||
# main window
|
# main window
|
||||||
self.parent.checkbox_translation.configure(font=customtkinter.CTkFont(family=choice))
|
self.parent.checkbox_translation.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
|
self.parent.checkbox_transcription.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
self.parent.checkbox_foreground.configure(font=customtkinter.CTkFont(family=choice))
|
self.parent.checkbox_foreground.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
self.parent.textbox_message_log.configure(font=customtkinter.CTkFont(family=choice))
|
self.parent.textbox_message_log.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
self.parent.entry_message_box.configure(font=customtkinter.CTkFont(family=choice))
|
self.parent.entry_message_box.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
|
self.parent.tabview_logs._segmented_button.configure(font=customtkinter.CTkFont(family=choice))
|
||||||
|
|
||||||
# window information
|
# window information
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user