fn render_title(&self, screen: &mut Screen) {
        let style = Style::new()
            .align(1, 2)
            .colors(self.title_colors)
            .top_margin(self.title_y);
        screen.styled_text(&self.title, style);
    }
/// Renders the title of the dialog.
Renders the title of the dialog.
Renders the title of the dialog .
fn render_title(&self, screen: &mut Screen) {
        let style = Style::new()
            .align(1, 2)
            .colors(self.title_colors)
            .top_margin(self.title_y);
        screen.styled_text(&self.title, style);
    }
fn render_title ( & self , screen : & mut Screen ) { let style = Style :: new ( ) . align ( 1 , 2 ) . colors ( self . title_colors ) . top_margin ( self . title_y ) ; screen . styled_text ( & self . title , style ) ; }
Renders the title of the dialog.
Renders the title of the dialog .
&self
screen
&mut Screen
&self
screen
&mut Screen