-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separator: allow changing the thickness / height #20758
Comments
I think it would be good to explore using the padding control to manage this. |
I think there are two different things here. Height makes sense to follow the spacer and cover treatment, with the resize handle at the bottom. Thickness is something that seems specific to this block. |
This is the thought @aaronrobertshaw and I came to when chatting yesterday, going to concentrate on height first using the resize handle. |
Latest #29363 |
The latest PR addressing separator height is ready for some extra eyes and testing. A few approaches have been trialled for this so I'll give a brief recap below. First Approach: #28409Single height attribute with drag resizing
Second Approach: #28451Adding margins to spacing block support and opt in for separator block
Third Approach: #28688Separate top/bottom margin attributes and drag resizing
Fourth Approach (preferred): #29363Modified BoxControl, separate top/bottom margins without drag resizing
Hopefully that helps give some extra context to the PR when reviewing. I think the last option is definitely the best option now and with a view to the future. |
The last PR attempting to address this has been closed in favour of leveraging block gap support and the spacer block. Should we close this issue as well or is the functionality still desired? |
Let's close this because it seems spacer block is the direction going forward. |
The separator block should allow setting a different height / thickness:
Should also apply somehow to the dots version:
The text was updated successfully, but these errors were encountered: