Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59d5a9b

Browse files
committed
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?...
1 parent baefceb commit 59d5a9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/Tools/IDE/Wlists.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ def activate(self, onoff):
269269
self._activated = onoff
270270
if self._visible:
271271
self._list.LActivate(onoff)
272-
state = [kThemeStateActive, kThemeStateInactive][not onoff]
273-
App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
272+
#state = [kThemeStateActive, kThemeStateInactive][not onoff]
273+
#App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
274274
if self._selected:
275275
self.drawselframe(onoff)
276276

0 commit comments

Comments
 (0)