Skip to content

Commit

Permalink
Fix list display
Browse files Browse the repository at this point in the history
  • Loading branch information
matzipan committed Nov 18, 2023
1 parent a0eac40 commit df96e3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/data/resources/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ template $Window : Adw.ApplicationWindow {
content: Gtk.ScrolledWindow {
hscrollbar-policy: never;
child: $DynamicListView threads_list_view {
height_per_row: 50;
height_per_row: 70;
styles ["navigation-sidebar"]
activate => $threads_list_view_activate() swapped;
};
Expand Down
4 changes: 2 additions & 2 deletions app/src/ui/stylesheet.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.folder_conversation_item {
padding-right: 5px;
padding-left: 14px;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid #e0e0e0;
}

.folder_conversation_item .addresses,
Expand Down Expand Up @@ -40,7 +40,7 @@

.folder_conversation_item:selected .addresses,
.folder_conversation_item:selected .received {
color: rgba(255, 255, 255, 0.6);
color: rgba(255, 255, 255, 0.8);
}

.folder_conversation_item:selected .subject,
Expand Down
4 changes: 2 additions & 2 deletions app/src/ui/window/folder_conversation_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ mod imp {
let outer_grid = gtk::Grid::new();
outer_grid.set_orientation(gtk::Orientation::Vertical);
outer_grid.set_row_spacing(3);
outer_grid.set_margin_top(4);
outer_grid.set_margin_bottom(4);
outer_grid.set_margin_top(9);
outer_grid.set_margin_bottom(0);
outer_grid.set_margin_start(8);
outer_grid.set_margin_end(8);

Expand Down

0 comments on commit df96e3d

Please sign in to comment.