Commit 6dda1f1a authored by Eisha Chen-yen-su's avatar Eisha Chen-yen-su

divider.rs: Add vertical spaces around the divider

This adds 20px margin above and 10px margin below the divider.

See https://gitlab.gnome.org/World/fractal/issues/133
parent da016b25
......@@ -10,6 +10,8 @@ pub fn new(text: &str) -> gtk::ListBoxRow {
if let Some(style) = divider.get_style_context() {
style.add_class("divider");
}
divider.set_margin_top(20);
divider.set_margin_bottom(10);
let left_separator = gtk::Separator::new(gtk::Orientation::Horizontal);
left_separator.set_valign(gtk::Align::Center);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment