I’m really happy to announce the immediate availability of the XUI Framework, release 2.
In addition to several minor improvements and bug fixes, the biggest addition to this release is the XUIInspector control. This is a versatile control for adding a visual inspector comprised of sections containing items to your desktop apps. It’s super customisable and comes out of the box with the following items:
I just spent the last hour hooking up a standard DPI monitor trying to figure this out and I didn’t even know that setting existed.
I wonder if @Martin_T can help here. The inspector (and the XUI code editor for that matter) are both based on a small subclass of DesktopTextInputCanvas Martin provided me years ago called NSScrollView that interacts with the scrollbars on macOS.
@Martin_T - any thoughts about determining if scrollbars are set to be always on or automatic?
Declare Function getScrollerStyle Lib "Foundation" Selector "scrollerStyle" (obj As Integer) As Integer
Dim ta As New TextArea // If you use a DesktopTextArea here, change the obj param to "Ptr" above
Dim style As Integer = getScrollerStyle(ta.Handle)
// Style will be 0 for "Legacy" and 1 for "Overlay"
Break