Skip to content
Discussion options

You must be logged in to vote

I'm not sure why anchoring to edges would be overkill?

The answer is to position the bar on the edge you want it, ensure it's anchored, and use the appropriate margin to push it away from the opposite edge.

For example, to create a bar in the bottom left:

{
  position = "bottom"
  anchor_to_edges = true // (true by default)
  margin.right = 500 // change as apppropriate
}

You may also wish to set exclusive_zone to false to avoid creating an area of empty space.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Neubulae
Comment options

Answer selected by Neubulae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants