MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / align

Method align

src/layout.rs:208–212  ·  view source on GitHub ↗
(&mut self, x: AlignX, y: AlignY)

Source from the content-addressed store, hash-verified

206 /// Sets the alignment of child elements using separate X and Y values.
207 #[inline]
208 pub fn align(&mut self, x: AlignX, y: AlignY) -> &mut Self {
209 self.config.child_alignment.x = x;
210 self.config.child_alignment.y = y;
211 self
212 }
213
214 /// Sets the layout direction.
215 #[inline]

Callers 2

test_exampleFunction · 0.80
test_floatingFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_exampleFunction · 0.64
test_floatingFunction · 0.64