Make Node::align public.
This commit is contained in:
parent
f79b94111f
commit
457d6f616a
1 changed files with 5 additions and 1 deletions
|
|
@ -54,7 +54,11 @@ impl Node {
|
|||
&self.children
|
||||
}
|
||||
|
||||
pub(crate) fn align(
|
||||
/// Aligns item according to [`Align`] and [`Size`].
|
||||
///
|
||||
/// [`Align`]: ../enum.Align.html
|
||||
/// [`Size`]: ../struct.Size.html
|
||||
pub fn align(
|
||||
&mut self,
|
||||
horizontal_alignment: Align,
|
||||
vertical_alignment: Align,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue