Skip to content

Commit

Permalink
Fix agenda layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Jan 5, 2018
1 parent 492f8d9 commit a926820
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/agenda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ impl ::relm::Widget for Widget
label: "Past due",
#[name="past"]
::widgets::Tasks {
property_vscrollbar_policy: ::gtk::PolicyType::Never,
Complete(ref task) => Msg::Complete(task.clone()),
Edit(ref task) => Msg::Edit(task.clone()),
},
Expand All @@ -178,6 +179,7 @@ impl ::relm::Widget for Widget
label: "Today",
#[name="today"]
::widgets::Tasks {
property_vscrollbar_policy: ::gtk::PolicyType::Never,
Complete(ref task) => Msg::Complete(task.clone()),
Edit(ref task) => Msg::Edit(task.clone()),
},
Expand All @@ -187,6 +189,7 @@ impl ::relm::Widget for Widget
label: "Tomorrow",
#[name="tomorrow"]
::widgets::Tasks {
property_vscrollbar_policy: ::gtk::PolicyType::Never,
Complete(ref task) => Msg::Complete(task.clone()),
Edit(ref task) => Msg::Edit(task.clone()),
},
Expand All @@ -196,6 +199,7 @@ impl ::relm::Widget for Widget
label: "This week",
#[name="week"]
::widgets::Tasks {
property_vscrollbar_policy: ::gtk::PolicyType::Never,
Complete(ref task) => Msg::Complete(task.clone()),
Edit(ref task) => Msg::Edit(task.clone()),
},
Expand All @@ -205,6 +209,7 @@ impl ::relm::Widget for Widget
label: "This month",
#[name="month"]
::widgets::Tasks {
property_vscrollbar_policy: ::gtk::PolicyType::Never,
Complete(ref task) => Msg::Complete(task.clone()),
Edit(ref task) => Msg::Edit(task.clone()),
}
Expand Down

0 comments on commit a926820

Please sign in to comment.