[Update] Config Window: タイトルとウインドウのタイトルのlocalize, UI日本語対応。

This commit is contained in:
Sakamoto Shiina
2023-10-10 19:13:16 +09:00
parent 7b804aba44
commit 33ffa14edf
3 changed files with 6 additions and 4 deletions

View File

@@ -13,7 +13,6 @@ class ConfigWindow(CTkToplevel):
# configure window
self.after(200, lambda: self.iconbitmap(getImagePath("vrct_logo_mark_black.ico")))
self.title("Settings")
self.geometry(f"{settings.uism.DEFAULT_WIDTH}x{settings.uism.DEFAULT_HEIGHT}")
@@ -23,10 +22,11 @@ class ConfigWindow(CTkToplevel):
self.settings = settings
self._view_variable = view_variable
self.title(self._view_variable.VAR_CONFIG_WINDOW_TITLE.get())
# When the configuration window's compact mode is turned on, it will call `grid_remove()` on each widget appended to this array. In the opposite case, `grid()` will be called.
self.additional_widgets = []
createConfigWindowTitle(config_window=self, settings=self.settings)
createConfigWindowTitle(config_window=self, settings=self.settings, view_variable=self._view_variable)
createSettingBoxTopBar(config_window=self, settings=self.settings, view_variable=self._view_variable)