Hello,
the following code in the open event of a Xojo.slider works all right (macOSlib):
dim myself as NSSlider = new NSSlider( Ptr(me.Handle))
myself.ControlSize = NSSlider.NSControlSize.NSMiniControlSize
I would like to apply the same procedure to a progressBar, but I can’t find the Cocoa.name corresponding to a Xojo.progressbar. I tried NSStepper and ProgressIndicator, but without success.
Fine. At least now I know that it would not be possible anymore.
BTW: my intention was to have a progressbar as thin as the one showing up when Safari loads a page.
Thank you, Tim, for digging it up. I really appreciate your trying to help me out.
So, according to the docs, there is a “PreferredSmallThickness” = 10.
But I have to admit it: I’m not proficient enough to translate Swift code into Xojo.