Add checkbox to settings for toggling transient notifications

This commit is contained in:
Ivaylo Draganov
2022-04-29 15:04:58 +03:00
committed by Paul Chote
parent a1e6ac85dc
commit 9f723be65a
3 changed files with 41 additions and 12 deletions

View File

@@ -163,14 +163,23 @@ Container@DISPLAY_PANEL:
Height: 20
Children:
Container@UI_FEEDBACK_CHECKBOX_CONTAINER:
X: PARENT_RIGHT / 2 + 10
Width: PARENT_RIGHT / 2 - 20
X: 10
Width: PARENT_RIGHT / 2 - 10
Children:
Checkbox@UI_FEEDBACK_CHECKBOX:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: UI Feedback in Transients Panel
Text: Show UI Feedback Notifications
Container@TRANSIENTS_CHECKBOX_CONTAINER:
X: PARENT_RIGHT / 2 + 10
Width: PARENT_RIGHT / 2 - 20
Children:
Checkbox@TRANSIENTS_CHECKBOX:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: Show Game Event Notifications
Container@SPACER:
Background@SECTION_HEADER:
X: 5

View File

@@ -158,6 +158,28 @@ Container@DISPLAY_PANEL:
Height: 20
Font: Regular
Text: Player Stance Colors
Container@ROW:
Width: PARENT_RIGHT - 24
Height: 20
Children:
Container@UI_FEEDBACK_CHECKBOX_CONTAINER:
X: 10
Width: PARENT_RIGHT / 2 - 10
Children:
Checkbox@UI_FEEDBACK_CHECKBOX:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: Show UI Feedback Notifications
Container@TRANSIENTS_CHECKBOX_CONTAINER:
X: PARENT_RIGHT / 2 + 10
Width: PARENT_RIGHT / 2 - 20
Children:
Checkbox@TRANSIENTS_CHECKBOX:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: Show Game Event Notifications
Container@ROW:
Width: PARENT_RIGHT - 24
Height: 20
@@ -171,15 +193,6 @@ Container@DISPLAY_PANEL:
Height: 20
Font: Regular
Text: Pause Menu Background
Container@UI_FEEDBACK_CHECKBOX_CONTAINER:
X: PARENT_RIGHT / 2 + 10
Width: PARENT_RIGHT / 2 - 20
Children:
Checkbox@UI_FEEDBACK_CHECKBOX:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: UI Feedback in Transients Panel
Container@SPACER:
Background@SECTION_HEADER:
X: 5