[Update] New VRCT Logo! replace to the new one. so adjust UI position and scaling for it.

This commit is contained in:
Sakamoto Shiina
2023-09-06 03:56:26 +09:00
parent 1133334d36
commit ec5732ec2e
6 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1018 B

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 898 B

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@@ -27,7 +27,7 @@ def createConfigWindowTitle(config_window, settings):
font=CTkFont(family=settings.FONT_FAMILY, size=settings.uism.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE, weight="bold"), font=CTkFont(family=settings.FONT_FAMILY, size=settings.uism.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE, weight="bold"),
text_color=settings.ctm.LABELS_TEXT_COLOR, text_color=settings.ctm.LABELS_TEXT_COLOR,
) )
config_window.side_menu_config_window_title.place(relx=0.275, rely=0.5, anchor="w") config_window.side_menu_config_window_title.place(relx=0.255, rely=0.5, anchor="w")
config_window.side_menu_config_window_title_logo = CTkLabel( config_window.side_menu_config_window_title_logo = CTkLabel(
config_window.side_menu_config_window_title_logo_frame, config_window.side_menu_config_window_title_logo_frame,
@@ -36,4 +36,4 @@ def createConfigWindowTitle(config_window, settings):
anchor="w", anchor="w",
image=CTkImage(settings.image_file.VRCT_LOGO_MARK, size=settings.uism.TOP_BAR_SIDE__CONFIG_LOGO_MARK_SIZE), image=CTkImage(settings.image_file.VRCT_LOGO_MARK, size=settings.uism.TOP_BAR_SIDE__CONFIG_LOGO_MARK_SIZE),
) )
config_window.side_menu_config_window_title_logo.place(relx=0.08, rely=0.59, anchor="w") config_window.side_menu_config_window_title_logo.place(relx=0.08, rely=0.58, anchor="w")

View File

@@ -40,7 +40,7 @@ class UiScalingManager():
# Sidebar Features # Sidebar Features
self.main.SF__LOGO_MAX_SIZE = self._calculateUiSize(120) self.main.SF__LOGO_MAX_SIZE = self._calculateUiSize(120)
self.main.SF__LOGO_PADY = (self._calculateUiSize(12),self._calculateUiSize(8)) self.main.SF__LOGO_PADY = (self._calculateUiSize(12),self._calculateUiSize(8))
self.main.SF__LOGO_HEIGHT_FOR_ADJUSTMENT = (self._calculateUiSize(8)) self.main.SF__LOGO_HEIGHT_FOR_ADJUSTMENT = (self._calculateUiSize(6))
self.main.SF__LABELS_IPADY = self._calculateUiSize(16) self.main.SF__LABELS_IPADY = self._calculateUiSize(16)
self.main.SF__COMPACT_MODE_ICON_PADY = self.main.SF__LABELS_IPADY self.main.SF__COMPACT_MODE_ICON_PADY = self.main.SF__LABELS_IPADY
@@ -95,7 +95,7 @@ class UiScalingManager():
# Top bar Side # Top bar Side
self.config_window.TOP_BAR_SIDE__WIDTH = self._calculateUiSize(220) self.config_window.TOP_BAR_SIDE__WIDTH = self._calculateUiSize(220)
self.config_window.TOP_BAR_SIDE__CONFIG_LOGO_MARK_SIZE = self.dupTuple(self._calculateUiSize(30)) self.config_window.TOP_BAR_SIDE__CONFIG_LOGO_MARK_SIZE = self.dupTuple(self._calculateUiSize(28))
self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE = self._calculateUiSize(22) self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE = self._calculateUiSize(22)
self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_LEFT_PADX = int(self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE + self._calculateUiSize(16)) self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_LEFT_PADX = int(self.config_window.TOP_BAR_SIDE__CONFIG_TITLE_FONT_SIZE + self._calculateUiSize(16))
self.config_window.TOP_BAR_SIDE__TITLE_PADX= self._calculateUiSize(30) self.config_window.TOP_BAR_SIDE__TITLE_PADX= self._calculateUiSize(30)