Don't do App.DrawThemeListBoxFrame() upon activate: it starts
looking worse and worse if you deactivate/activate the window a few times. I don't know how to fix this properly, but I'm beginning to think that it's almost impossible to support the Appearance manager properly due to the way W works. Time for W2?...
This commit is contained in:
parent
baefcebb55
commit
59d5a9b5b7
|
@ -269,8 +269,8 @@ class List(Wbase.SelectableWidget):
|
|||
self._activated = onoff
|
||||
if self._visible:
|
||||
self._list.LActivate(onoff)
|
||||
state = [kThemeStateActive, kThemeStateInactive][not onoff]
|
||||
App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
|
||||
#state = [kThemeStateActive, kThemeStateInactive][not onoff]
|
||||
#App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
|
||||
if self._selected:
|
||||
self.drawselframe(onoff)
|
||||
|
||||
|
|
Loading…
Reference in New Issue