diff --git a/examples/dock/dock_popover/mod.rs b/examples/dock/dock_popover/mod.rs index f7cb09a..08c5c3a 100644 --- a/examples/dock/dock_popover/mod.rs +++ b/examples/dock/dock_popover/mod.rs @@ -84,6 +84,7 @@ impl DockPopover { let all_windows_item_header_icon = cascade! { Image::from_icon_name(Some("go-down")); ..set_halign(gtk4::Align::End); + ..set_hexpand(true); ..set_pixel_size(16); }; all_windows_item_header_box.append(&all_windows_item_header_icon); @@ -114,6 +115,10 @@ impl DockPopover { let window_title = cascade! { 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 diff --git a/examples/dock/style.css b/examples/dock/style.css index c205256..5fc8085 100644 --- a/examples/dock/style.css +++ b/examples/dock/style.css @@ -1,3 +1,8 @@ +listview { + border-radius: 12px; + background: #333333; +} + listview row:hover { transition: 100ms; background: #888888; @@ -11,6 +16,24 @@ listview row { 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 { background: #888888; border-radius: 12px; @@ -23,11 +46,6 @@ button { border-width: 0px; } -listview { - border-radius: 12px; - background: #333333; -} - box.dock { border-radius: 12px; background: #333333;