Update message header layout, use GtkFlowBox for addresses.

This takes some inspiration from the GNOME Mail mockups.

* src/client/components/main-window.vala (MainWindow::set_styling): Work
  around GtkFlowBoxChild padding issue.

* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage): Updated to populate new header labels, add
  addresses to GtkFlowBoxes.

* ui/conversation-message.ui: Make date always visible and
  right-aligned. Remove label for sender address. Use GtkFlowBoxes for
  sender/to/cc/bcc.
This commit is contained in:
Michael James Gratton 2016-06-10 10:56:18 -07:00
parent 6253001c4c
commit a97a371826
4 changed files with 230 additions and 210 deletions

View file

@ -89,9 +89,13 @@ row.geary-folder-popover-list-row > label {
#ConversationMessage {
padding: 12px;
}
#ConversationMessage .header-label {
#ConversationMessage .geary-header-label {
margin-right: 6px;
}
#ConversationMessage .geary-headers flowboxchild {
margin: 0;
padding: 0;
}
#ConversationMessage separator {
margin: 12px 0;
}