Commit 797bb44b authored by Michael Gratton's avatar Michael Gratton 🤞

Fix conversation viewer's spinners being huge with some themes.

Bug 773054

* src/client/conversation-viewer/conversation-list-box.vala
  (ConversationListBox::show_loading), ui/conversation-viewer.ui: Specify
  a width and height request for the spinners, ensure they are centered.
parent 1b80419d
......@@ -761,6 +761,8 @@ public class ConversationListBox : Gtk.ListBox {
private void show_loading() {
Gtk.Spinner spinner = new Gtk.Spinner();
spinner.set_size_request(32, 32);
spinner.halign = spinner.valign = Gtk.Align.CENTER;
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<requires lib="gtk+" version="3.10"/>
<requires lib="gtk+" version="3.14"/>
<template class="ConversationViewer" parent="GtkStack">
<property name="name">conversation_viewer</property>
<property name="visible">True</property>
......@@ -9,8 +9,12 @@
<property name="transition_type">crossfade</property>
<object class="GtkSpinner" id="loading_page">
<property name="width_request">32</property>
<property name="height_request">32</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="active">True</property>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment