Draw message list separate with CSS

Bug #1379017 reported by Danielle Foré
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Geary
Confirmed
Medium
geary (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Instead of a thick bar drawn in Cairo (I think?), the separator should just be drawn with CSS. The following is what I use in elementary theme:

ConversationListView {
    -GtkWidget-focus-line-width: 1px;
    -GtkTreeView-grid-line-width: 0;
}

ConversationListView.view.cell {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: alpha (#000, 0.2);
}

ConversationListView.view.cell:selected {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: shade (@selected_bg_color, 0.8);
}

Revision history for this message
Jim Nelson (yorba-jim) wrote :

If that works, I would be very happy. Our original proposal was to space out the cells, but GtkCellRender is severely limited in what it can draw. If CSS gets us there (or we simply restyle with a better border), I'm stoked.

Changed in geary:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in geary (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Gratton (mjog) wrote :

This will be possible once we switch to a GtkListBox for the conversation list per bgo 730682.

Changed in geary:
importance: Medium → Unknown
status: Confirmed → Unknown
Changed in geary:
importance: Unknown → Medium
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.