Skip to content

Commit

Permalink
Fix button size
Browse files Browse the repository at this point in the history
This should hopefully make it much more difficult to miss any of the
buttons.

Closes #12.
  • Loading branch information
chrisduerr committed Oct 28, 2023
1 parent 294a21a commit 0ca4e75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gtk/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ impl Overview {
// Button to create new alarms.
let new_button = Button::with_label("Add Alarm");
new_button.set_margin_top(25);
new_button.set_margin_end(25);
new_button.set_margin_bottom(25);
new_button.set_margin_start(25);
container.append(&new_button);

// Handle new alarm button press.
Expand Down
5 changes: 5 additions & 0 deletions gtk/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
border-radius: 0;
}

button {
padding: 10px;
font-size: 1.1em;
}

.ringing-name {
font-size: 2em;
}
Expand Down

0 comments on commit 0ca4e75

Please sign in to comment.