fix for white text on bright yellow edit box in dark theme
This commit is contained in:
parent
7b9ac8eee0
commit
0453092831
Binary file not shown.
|
@ -4167,6 +4167,7 @@ class EventsFocus(EventsListenerBase, XFocusListener):
|
||||||
if service in self.CONTROLS:
|
if service in self.CONTROLS:
|
||||||
obj = event.Source.Model
|
obj = event.Source.Model
|
||||||
obj.BackgroundColor = COLOR_ON_FOCUS
|
obj.BackgroundColor = COLOR_ON_FOCUS
|
||||||
|
obj.TextColor = TEXT_COLOR_ON_FOCUS
|
||||||
return
|
return
|
||||||
|
|
||||||
def focusLost(self, event):
|
def focusLost(self, event):
|
||||||
|
@ -6864,6 +6865,7 @@ def get_color(value):
|
||||||
|
|
||||||
|
|
||||||
COLOR_ON_FOCUS = get_color('LightYellow')
|
COLOR_ON_FOCUS = get_color('LightYellow')
|
||||||
|
TEXT_COLOR_ON_FOCUS = get_color('black')
|
||||||
|
|
||||||
|
|
||||||
class LOServer(object):
|
class LOServer(object):
|
||||||
|
|
Loading…
Reference in New Issue