Use Paddy to create dynamic buttons that change size automatically using a consistent padding.
Plugin: https://github.com/DWilliames/paddy-sketch-plugin
Sample file: https://www.dropbox.com/s/gv44wieqsff9ayo/Paddy%20Sample.sketch?dl=0
Padding can be applied to one 'Background' layer (either a shape layer or a Symbol) of a group. The 'Background' layer will automatically resize itself so that it surrounds all other layers within that group by a specified amount.
Specify the padding amount within the background layer's name between '[' and ']'. e.g. Background [10 20]. The format of the padding values should be in the same order as CSS.
Plugin: https://github.com/DWilliames/paddy-sketch-plugin
Sample file: https://www.dropbox.com/s/gv44wieqsff9ayo/Paddy%20Sample.sketch?dl=0
Padding can be applied to one 'Background' layer (either a shape layer or a Symbol) of a group. The 'Background' layer will automatically resize itself so that it surrounds all other layers within that group by a specified amount.
Specify the padding amount within the background layer's name between '[' and ']'. e.g. Background [10 20]. The format of the padding values should be in the same order as CSS.
Comments