use SPACING const
This commit is contained in:
parent
30167d0eee
commit
f600ee3692
|
@ -10,7 +10,7 @@ fn build_ui(application: >k::Application) {
|
|||
let window = gtk::ApplicationWindow::new(application);
|
||||
|
||||
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_default_size(400, 100);
|
||||
|
||||
|
|
Loading…
Reference in New Issue