From 617f1a4d08630e5020d660f39f04ff4198f2a760 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:00:55 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[typo]=20Config=20Window:=20=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E9=A0=85=E7=9B=AE=E3=81=AEtypo=E3=82=84=E5=B0=91?= =?UTF-8?q?=E3=81=97=E6=96=87=E6=B3=95=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view.py b/view.py index 571653e5..60a654a9 100644 --- a/view.py +++ b/view.py @@ -157,7 +157,7 @@ class View(): VAR_MIC_DEVICE=StringVar(value=config.CHOICE_MIC_DEVICE), VAR_LABEL_MIC_ENERGY_THRESHOLD=StringVar(value="Mic Energy Threshold"), - VAR_DESC_MIC_ENERGY_THRESHOLD=StringVar(value="Slider to modify the threshold for activating voice input.\nPress the microphone button to start input and speak something, so you can adjust it while monitoring the actual volume. 0 to 2000 (Default: 300)"), + VAR_DESC_MIC_ENERGY_THRESHOLD=StringVar(value="Slider to modify the threshold for activating voice input.\nPress the microphone button to initiate input and speak, allowing you to adjust it while monitoring the actual volume. Range: 0 to 2000 (Default: 300)"), SLIDER_RANGE_MIC_ENERGY_THRESHOLD=(0, config.MAX_MIC_ENERGY_THRESHOLD), CALLBACK_CHECK_MIC_THRESHOLD=None, VAR_MIC_ENERGY_THRESHOLD__SLIDER=IntVar(value=config.INPUT_MIC_ENERGY_THRESHOLD), @@ -196,8 +196,8 @@ class View(): CALLBACK_SET_SPEAKER_DEVICE=None, VAR_SPEAKER_DEVICE=StringVar(value=config.CHOICE_SPEAKER_DEVICE), - VAR_LABEL_SPEAKER_ENERGY_THRESHOLD=StringVar(value="Mic Energy Threshold"), - VAR_DESC_SPEAKER_ENERGY_THRESHOLD=StringVar(value="Slider to modify the threshold for activating voice input.\nPress the headphones mark button to start input and speak something, so you can adjust it while monitoring the actual volume. 0 to 4000 (Default: 300)"), + VAR_LABEL_SPEAKER_ENERGY_THRESHOLD=StringVar(value="Speaker Energy Threshold"), + VAR_DESC_SPEAKER_ENERGY_THRESHOLD=StringVar(value="Slider to modify the threshold for activating voice input.\nPress the headphones mark button to start input and speak something, so you can adjust it while monitoring the actual volume. Range: 0 to 4000 (Default: 300)"), SLIDER_RANGE_SPEAKER_ENERGY_THRESHOLD=(0, config.MAX_SPEAKER_ENERGY_THRESHOLD), CALLBACK_CHECK_SPEAKER_THRESHOLD=None, VAR_SPEAKER_ENERGY_THRESHOLD__SLIDER=IntVar(value=config.INPUT_SPEAKER_ENERGY_THRESHOLD), From 0344c9ae34d5e6faffc688a3b1e380fbf60da54e Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 21 Sep 2023 19:24:54 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[bugfix]=20Config=20Window:=20=E8=AC=8E?= =?UTF-8?q?=E3=81=AE=E5=90=84=E9=A0=85=E7=9B=AE=E9=96=93=E3=81=AB=E3=80=81?= =?UTF-8?q?=E6=83=B3=E5=AE=9A=E3=82=88=E3=82=8A+1px=E3=83=9C=E3=83=BC?= =?UTF-8?q?=E3=83=80=E3=83=BC=E5=85=A5=E3=81=A3=E3=81=A6=E3=81=97=E3=81=BE?= =?UTF-8?q?=E3=81=86=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3(=E7=84=A1?= =?UTF-8?q?=E7=90=86=E3=82=84=E3=82=8A)=20=E5=81=B6=E7=84=B6=E8=A6=8B?= =?UTF-8?q?=E3=81=A4=E3=81=91=E3=81=9F=E6=96=B9=E6=B3=95=E3=81=A7=E3=81=99?= =?UTF-8?q?=E3=80=82=E8=A8=AD=E5=AE=9A=E7=94=BB=E9=9D=A2=E6=94=B9=E4=BF=AE?= =?UTF-8?q?=E3=81=AF=E3=81=84=E3=81=9A=E3=82=8C=E5=BF=85=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E3=81=AE=E3=81=A7=E3=80=81=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88?= =?UTF-8?q?=E3=81=9A=E3=81=A8=E3=81=84=E3=81=86=E4=BF=AE=E6=AD=A3=E3=81=A7?= =?UTF-8?q?=E3=81=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting_box_containers/_SettingBoxGenerator.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py index 8e002b55..07da4153 100644 --- a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py +++ b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py @@ -14,7 +14,7 @@ class _SettingBoxGenerator(): def _createSettingBoxFrame(self, for_var_label_text, for_var_desc_text): setting_box_frame = CTkFrame(self.parent_widget, corner_radius=0, fg_color=self.settings.ctm.SB__BG_COLOR, width=0, height=0) - # setting_box_frame = CTkFrame(parent_widget, corner_radius=0, fg_color="gray", width=0, height=0) + # setting_box_frame = CTkFrame(self.parent_widget, corner_radius=0, fg_color="gray", width=0, height=0) # "pady=(0,1)" is for bottom padding. It can be removed(override) when you do like "self.attr_name.grid(row=row, pady=0)" # setting_box_frame.grid(column=0, padx=0, pady=0, sticky="ew") @@ -30,6 +30,10 @@ class _SettingBoxGenerator(): # setting_box_frame_wrapper.grid(column=0, padx=0, pady=0) setting_box_frame_wrapper.grid(row=0, column=0, padx=self.settings.uism.SB__IPADX, pady=self.settings.uism.SB__IPADY, sticky="ew") + setting_box_frame_wrapper_border = CTkFrame(setting_box_frame, corner_radius=0, fg_color="red", width=0, height=0) + setting_box_frame_wrapper_border.grid(row=1, column=0, sticky="ew") + + self._setSettingBoxLabels(setting_box_frame_wrapper, for_var_label_text, for_var_desc_text) return (setting_box_frame, setting_box_frame_wrapper)