aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/mod.rs b/src/gui/mod.rs
index 6f88923..0dcf430 100644
--- a/src/gui/mod.rs
+++ b/src/gui/mod.rs
@@ -25,7 +25,7 @@ static GENERATE_STATUS : Lazy<Mutex<GenState>> = Lazy::new(|| { Mutex::new(GenSt
pub fn run() -> iced::Result {
App::run(Settings {
window: window::Settings {
- size: (500, 800),
+ size: (1000, 800),
..window::Settings::default()
},
..Settings::default()
@@ -256,7 +256,9 @@ impl Application for App {
let res : Element<Message> = if results.is_empty() {
column![text("There are no results")].spacing(10).into()
} else {
- let lines : Vec<Element<_>> = results.iter().map(|r| text(r.path.clone()).into()).collect();
+ let lines : Vec<Element<_>> = results.iter()
+ .map(|r| row![text(r.priority).width(Length::Fixed(50.0)), text(r.path.clone())].into())
+ .collect();
column(lines).spacing(10).into()
};