diff --git a/src/main.rs b/src/main.rs index 5ed437c..dd90ca1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use gio::prelude::*; use gtk::prelude::*; -use gtk::Orientation; +use gtk::{Orientation, InputPurpose}; use std::env::args; use std::process::Command; @@ -21,7 +21,8 @@ fn build_ui(application: >k::Application) { let button = gtk::Button::with_label("Go!"); input_url.set_placeholder_text(Some("Enter URL here")); - + input_url.set_input_purpose(InputPurpose::Url); + horizontal.set_homogeneous(true); window.add(&vertical);