"Space after widget" persists even if the output of a widget is nothing

This is an issue that I reported on GitHub but that was not addressed. If you have a lot of conditional widgets, the space after each widget will persist even for empty widgets, which makes the layout look weird when not all widgets are showing.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.): Touch Bar

Screenshots

You can see between the now playing and reminders widgets there is extra space. This is caused by there being two additional now playing widgets (for Safari and Spotify) not being displayed. All widgets have 5px space following by default, which should be hidden along with the rest of the widget if the output is nothing.

Device information:

  • Type of Mac: 2016 MBP
  • macOS version: 10.13.6 Beta
  • BetterTouchTool version: 2.511