use SPACING const

This commit is contained in:
Max Bradbury 2020-09-11 11:19:54 +01:00
parent 30167d0eee
commit f600ee3692
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ fn build_ui(application: &gtk::Application) {
let window = gtk::ApplicationWindow::new(application); let window = gtk::ApplicationWindow::new(application);
window.set_title("youtube-dl"); window.set_title("youtube-dl");
window.set_border_width(10); window.set_border_width(SPACING as u32);
window.set_position(gtk::WindowPosition::Center); window.set_position(gtk::WindowPosition::Center);
window.set_default_size(400, 100); window.set_default_size(400, 100);