MCPcopy Create free account
hub / github.com/audulus/rui / padding

Method padding

src/modifiers.rs:128–130  ·  view source on GitHub ↗

Adds space around a view. Can be either `Auto` or `Px(number_of_pixels)`

(self, param: impl Into<PaddingParam>)

Source from the content-addressed store, hash-verified

126
127 /// Adds space around a view. Can be either `Auto` or `Px(number_of_pixels)`
128 fn padding(self, param: impl Into<PaddingParam>) -> Padding<Self> {
129 Padding::new(self, param.into())
130 }
131
132 /// Specify an accessiblity role.
133 fn role(self, role: Role) -> RoleView<Self> {

Callers 15

test_screenshot_nestedFunction · 0.80
buttonFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Implementers 1

modifiers.rssrc/modifiers.rs

Calls

no outgoing calls