File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ use youchoose;
6262fn main () {
6363 let mut menu = youchoose :: Menu :: new (0 .. 100 )
6464 . preview (multiples ) // Sets the preview function
65- . preview_pos (youchoose :: ScreenSide :: Bottom ) // Sets the position of the preview pane
65+ . preview_pos (youchoose :: ScreenSide :: Bottom , 0.3 ) // Sets the position of the preview pane
6666 . preview_label (" multiples " . to_string ()) // Sets the text at the top of the preview pane
6767 . multiselect () // Allows multiple items to be selected
6868 . icon (" :(" ) // Sets the default (not selected) icon for an item
Original file line number Diff line number Diff line change 6767//! fn main() {
6868//! let mut menu = youchoose::Menu::new(0..100)
6969//! .preview(multiples) // Sets the preview function
70- //! .preview_pos(youchoose::ScreenSide::Bottom) // Sets the position of the preview pane
70+ //! .preview_pos(youchoose::ScreenSide::Bottom, 0.3 ) // Sets the position of the preview pane
7171//! .preview_label(" multiples ".to_string()) // Sets the text at the top of the preview pane
7272//! .multiselect() // Allows multiple items to be selected
7373//! .icon(":(") // Sets the default (not selected) icon for an item
You can’t perform that action at this time.
0 commit comments