You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
@pelmers This sounds like a reasonable enhancement, is this something you'd be willing to take a shot at? Happy to help walk you through the Electron codebase if you want to give it a go
In #11038 dynamic width calculation was added to the scrubber touch bar item layout, however there is no way to specify the itemSpacing and itemSize (https://developer.apple.com/documentation/appkit/nsscrubberflowlayout?language=objc) for entries in the scrubber list, which are necessary to emulate the appearance of the TouchBarSegmentedControl class.
Desired: (TouchBarSegmentedControl)
Current appearance: (Scrubber)
Request: Likely the simplest solution would be to add optional
itemSpacing
anditemSize
properties to the TouchBarScrubber constructor options and use those insizeForItemAtIndex
if given (https://github.com/dashersw/electron/blob/master/atom/browser/ui/cocoa/atom_touch_bar.mm#L670).The text was updated successfully, but these errors were encountered: