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.
This commit is contained in:
parent
1b80419dc7
commit
797bb44b7c
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
spinner.start();
|
||||
spinner.show();
|
||||
set_placeholder(spinner);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<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>
|
||||
<child>
|
||||
<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>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue