formatting

This commit is contained in:
Ashley Wulber 2022-01-04 14:03:28 -05:00
parent 2c0aea3e78
commit ca89fb6199
2 changed files with 28 additions and 5 deletions

View file

@ -84,6 +84,7 @@ impl DockPopover {
let all_windows_item_header_icon = cascade! { let all_windows_item_header_icon = cascade! {
Image::from_icon_name(Some("go-down")); Image::from_icon_name(Some("go-down"));
..set_halign(gtk4::Align::End); ..set_halign(gtk4::Align::End);
..set_hexpand(true);
..set_pixel_size(16); ..set_pixel_size(16);
}; };
all_windows_item_header_box.append(&all_windows_item_header_icon); all_windows_item_header_box.append(&all_windows_item_header_icon);
@ -114,6 +115,10 @@ impl DockPopover {
let window_title = cascade! { let window_title = cascade! {
Label::new(Some(w.name.as_str())); Label::new(Some(w.name.as_str()));
..set_margin_start(4);
..set_margin_end(4);
..set_margin_top(4);
..set_margin_bottom(4);
}; };
// TODO investigate Xembed // TODO investigate Xembed

View file

@ -1,3 +1,8 @@
listview {
border-radius: 12px;
background: #333333;
}
listview row:hover { listview row:hover {
transition: 100ms; transition: 100ms;
background: #888888; background: #888888;
@ -11,6 +16,24 @@ listview row {
padding: 0px; padding: 0px;
} }
list {
border-radius: 12px;
background: #333333;
}
list row:hover {
transition: 100ms;
background: #888888;
border-radius: 12px;
padding: 0px;
}
list row {
background: #333333;
border-radius: 12px;
padding: 0px;
}
button:hover { button:hover {
background: #888888; background: #888888;
border-radius: 12px; border-radius: 12px;
@ -23,11 +46,6 @@ button {
border-width: 0px; border-width: 0px;
} }
listview {
border-radius: 12px;
background: #333333;
}
box.dock { box.dock {
border-radius: 12px; border-radius: 12px;
background: #333333; background: #333333;