Home
last modified time | relevance | path

Searched refs:x_offset (Results 1 – 1 of 1) sorted by relevance

/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs117 let mut x_offset: u32 = 0; in arrange_elements() localVariable
126 Vector2::new(x_offset as i32, y_offset as i32) in arrange_elements()
129 x_offset as i32, in arrange_elements()
133 x_offset as i32, in arrange_elements()
141 Vector2::new(x_offset as i32, y_offset as i32) in arrange_elements()
144 x_offset as i32 + (max_size - element.rect().get().width) as i32 / 2, in arrange_elements()
148 x_offset as i32 + (max_size - element.rect().get().width) as i32, in arrange_elements()
161 x_offset += element.rect().get().width + self.space.get(); in arrange_elements()