Improve visibility of disabled text inputs

4.6 2.4.0
passivestar 2025-08-16 21:31:23 +07:00
parent 93c2f15e9e
commit 4510142efe
1 changed files with 1 additions and 1 deletions

@ -563,7 +563,7 @@ func _init() -> void:
# Using transparent background for readonly otherwise it looks bad in the master audio bus
sb = sb.duplicate()
sb.bg_color = Color(0, 0, 0, 0.1) if dark_theme else Color(1, 1, 1, 0.1)
sb.bg_color = Color(0, 0, 0, 0.2) if dark_theme else Color(1, 1, 1, 0.5)
set_stylebox('read_only', 'LineEdit', sb)
set_stylebox('read_only', 'TextEdit', sb)