Brackets require background.height
, padding doesn't work, etc
#639
Labels
background.height
, padding doesn't work, etc
#639
Hi there,
First of all thanks for SketchyBar. It's a fantastic bit of kit.
I'm setting up left-right bars around the notch using the
q-e
anchor + brackets trick.Here's a minimal repro:
Which gives the following to the left of my notch:

Current behaviour
background.height=30 \
, the bracket disappears completely. There's no mention I can find of this in the docs, and from what I understand of the examples and plugin code I've seen it's meant to calculate height automatically. Could be wrong about that.left_padding
andbackground.left_padding
aren't applying padding. I'm not sure which is intended, for the following reason: a solution is to add defaultpadding_left
(code below). I'm not sure why this works, but it means that every item needs to have padding reset if it differs from brackets.Bracket padding hack:
Expected behaviour
background.height
on brackets, but ideally calculating height dynamically and removing the requirement.padding_*
andbackground.padding_*
to influence brackets without needing to set defaults.background.*
settings for rendering but not thebackground.padding_*
setting. Maybe worth changing that?Looking forward to hearing from you. Thanks again!
The text was updated successfully, but these errors were encountered: