revolt icon indicating copy to clipboard operation
revolt copied to clipboard

Use the header bar for something more

Open aperezdc opened this issue 8 years ago • 4 comments

Possible widgets to show in the header bar, which is mostly exmpty at the moment (excep for the application name, the loading spinner, and the close button):

  • Make the loading spinner a “network activity spinner”, when the application is loading things other than the calls to the /sync API.
  • A count of the number of rooms with pending-to-read activity.
  • A badge or icon which signals that there has been pending-to-read activity.
  • When/if there's support for multiple server URLs, a switcher for the different servers.
  • Other ideas?

aperezdc avatar Oct 31 '16 22:10 aperezdc

One option is to show the count of rooms with activity, see issue #1.

aperezdc avatar Oct 31 '16 22:10 aperezdc

Since all the app's UI is contained within the page, it might be better to keep the chrome as minimal as possible - either use a custom header bar that isn't as tall, or just use an old-fashioned titlebar.

allanday avatar Jan 23 '17 18:01 allanday

@allanday: Using a skinnier custom header bar widget instead of going with the default one does sound like a good idea! It would reduce the vertical usage while still allowing to embed additional information. IMHO the original idea of showing some additional information in the title/header bar still sounds nice.

aperezdc avatar Jan 23 '17 19:01 aperezdc

Today I finally got round to look into using CSS for styling GTK+ for the first time, and this is the result:

skinny-headerbar

Only the margins and paddings are customized in the CSS, so this should work fine with most themes out in the wild. I tried the Arc theme, and it looks great as well :wink:

aperezdc avatar Jun 02 '17 17:06 aperezdc