Skip to content

Commit 4407be7

Browse files
committed
updated innate trait button visual
1 parent 6368f8c commit 4407be7

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

main.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Launcher():
88

9-
version = '2025.03b030'
9+
version = '2025.03b031'
1010
__version__ = '2.0'
1111

1212
# holds the style of the app
@@ -176,6 +176,13 @@ class Launcher():
176176
'border-width': '@bw',
177177
'border-color': '@bc',
178178
},
179+
# build item button
180+
'item_dark': {
181+
'background-color': '@bg',
182+
'border-style': 'solid',
183+
'border-width': '@bw',
184+
'border-color': '@lbg',
185+
},
179186
# checkbox
180187
'checkbox': {
181188
'::indicator': {

src/widgetbuilder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ def create_personal_trait_section(self, environment: str) -> QGridLayout:
394394
widget_storage['traits'][i] = button
395395
# Last button is for innate trait and should not be clickable
396396
button.setEnabled(False)
397+
button.setStyleSheet(get_style_class(self, 'ItemButton', 'item_dark'))
397398
return layout
398399

399400

0 commit comments

Comments
 (0)