Show a card for sunrise, sunset, moonrise, and moonset #57
|
@ -49,8 +49,6 @@ impl ApplicationWindow {
|
||||||
.margin_start(8)
|
.margin_start(8)
|
||||||
.margin_end(8)
|
.margin_end(8)
|
||||||
.build();
|
.build();
|
||||||
next_event.add_css_class("card");
|
|
||||||
next_event.add_css_class("activatable");
|
|
||||||
layout.append(&next_event);
|
layout.append(&next_event);
|
||||||
|
|
||||||
let transit_card = TransitCard::new();
|
let transit_card = TransitCard::new();
|
||||||
|
|
|
@ -38,8 +38,6 @@ glib::wrapper! {
|
||||||
impl Date {
|
impl Date {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
let s: Self = Object::builder().build();
|
let s: Self = Object::builder().build();
|
||||||
s.add_css_class("card");
|
|
||||||
s.add_css_class("activatable");
|
|
||||||
s.set_margin_bottom(8);
|
s.set_margin_bottom(8);
|
||||||
s.set_margin_top(8);
|
s.set_margin_top(8);
|
||||||
s.set_margin_start(8);
|
s.set_margin_start(8);
|
||||||
|
|
Loading…
Reference in New Issue