Friday, August 5, 2016

Policy Plus - Scrollbar finagled

After last night's post, I continued fiddling with Policy Plus's setting information panel scrollbar, and I got it into a pretty good state. A vertical scrollbar - and only a vertical scrollbar - appears when the pane's contents are too tall for it. I removed the horizontal scrollbar using some P/Invoke as suggested in this Stack Overflow answer.

When the vertical scrollbar appears, the text column narrows so it's not overlapped by the bar.

A working scrollbar appears in the middle pane
There is a little flicker in that pane now when the selected policy is changed. I'm also still experiencing a weird issue with a pointless and inert and mis-styled horizontal scrollbar appearing in the right pane when the window is maximized and restored, so the existing UI isn't yet perfect.

No comments:

Post a Comment