1use crate::primitives::dialog::Dialog; 2 3impl<'a> Dialog<'a> { 4 pub fn height_percent(mut self, height_percent: f32) -> Self { 5 self.height_percent = height_percent; 6 self 7 } 8}