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

divider.rs: Change the margins around the divider

This changes the margins' values around the divider to make it more
visually pleasing.

See https://gitlab.gnome.org/World/fractal/issues/133
parent 6dda1f1a
......@@ -10,8 +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);
divider.set_margin_top(24);
divider.set_margin_bottom(6);
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