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