Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Feature request: selective padding #106

Closed
Slaaavo opened this issue Mar 21, 2019 · 2 comments
Closed

Feature request: selective padding #106

Slaaavo opened this issue Mar 21, 2019 · 2 comments

Comments

@Slaaavo
Copy link

Slaaavo commented Mar 21, 2019

Right now, padding is useful only for making components that should adapt to its content completely. It would be great if I could specify, whether padding should be applied in all directions, or just vertically or just horizontally. Say I want a paragraph with a padding and I want to be able to resize horizontally for different screen sizes. Right now, that doesn't work, so I can't use padding, even though it would be great application for this feature.

@Slaaavo
Copy link
Author

Slaaavo commented Mar 27, 2019

This is a duplicate of Padding in symbol make it Fixed size? #105

@Slaaavo Slaaavo closed this as completed Mar 27, 2019
@Spodesnl
Copy link

Spodesnl commented Jul 16, 2019

I was looking for the "fixed size" issue and came across your post and #105. I found a way to make this work. When you create the padding group, it works fine. The moment you click the padding group, it becomes fixed. If you click the "fix size" again, making it unfixed and then never touch the padding group again, it seems to stay unfixed. You can then resize it horizontally and then the will adapt to the amount of text.

So after you touch any layer in the paddinggroup, make the size unfixed again and it should work fine...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants