[gnome-music/wip/mschraal/gtk4: 107/141] AlbumWidget.ui: Cleanup
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 107/141] AlbumWidget.ui: Cleanup
- Date: Mon, 17 Feb 2020 19:35:18 +0000 (UTC)
commit 026e085a749432cfce23a3aefb170849b9a77d0f
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 15:33:44 2019 +0100
AlbumWidget.ui: Cleanup
data/ui/AlbumWidget.ui | 117 +++++++++++--------------------------------------
1 file changed, 26 insertions(+), 91 deletions(-)
---
diff --git a/data/ui/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index ccdf6e69..fa60027a 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -1,32 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<template class="AlbumWidget" parent="GtkBox">
- <property name="visible">True</property>
<style>
<class name="view"/>
<class name="content-view"/>
</style>
<child>
<object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<child>
<object class="GtkBox" id="albumInfo">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="margin_start">32</property>
<property name="margin_end">32</property>
<property name="margin_top">64</property>
<property name="margin_bottom">32</property>
- <property name="vexpand">True</property>
- <property name="hexpand">True</property>
+ <property name="vexpand">1</property>
+ <property name="hexpand">1</property>
<child>
<object class="GtkBox" id="albumDetails">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="orientation">vertical</property>
@@ -40,22 +32,15 @@
<property name="margin_start">1</property>
<property name="margin_end">1</property>
</object>
- <packing>
- <property name="position">0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="artistBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="orientation">vertical</property>
<property name="spacing">3</property>
<child>
<object class="GtkLabel" id="_title_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">center</property>
<property name="justify">center</property>
<property name="ellipsize">middle</property>
@@ -63,14 +48,9 @@
<class name="title-artist"/>
</style>
</object>
- <packing>
- <property name="position">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="_artist_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">center</property>
<property name="justify">center</property>
<property name="ellipsize">middle</property>
@@ -79,145 +59,103 @@
<class name="dim-label"/>
</style>
</object>
- <packing>
- <property name="position">1</property>
- </packing>
</child>
</object>
- <packing>
- <property name="position">1</property>
- </packing>
</child>
<child>
<object class="GtkGrid" id="grid">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="margin_top">21</property>
<property name="column_spacing">32</property>
- <property name="column_homogeneous">True</property>
+ <property name="column_homogeneous">1</property>
<child>
<object class="GtkLabel" id="released_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="label" translatable="yes">Released</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">1</property>
<style>
<class name="dim-label"/>
</style>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="running_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Running Length</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">1</property>
<style>
<class name="dim-label"/>
</style>
+ <layout>
+ <property name="top_attach">1</property>
+ </layout>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">1</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="_released_info_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="label">----</property>
+ <layout>
+ <property name="left_attach">1</property>
+ </layout>
</object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">0</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="_running_info_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label">--:--</property>
+ <layout>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ </layout>
</object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">1</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="_composer_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="no_show_all">True</property>
<property name="halign">end</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="label" translatable="yes">Composer</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">1</property>
<style>
<class name="dim-label"/>
</style>
+ <layout>
+ <property name="top_attach">2</property>
+ </layout>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">2</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="_composer_info_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="no_show_all">True</property>
<property name="halign">start</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="ellipsize">end</property>
+ <layout>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ </layout>
</object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">2</property>
- </packing>
</child>
</object>
- <packing>
- <property name="position">3</property>
- </packing>
</child>
</object>
- <packing>
- <property name="position">0</property>
- </packing>
</child>
</object>
- <packing>
- <property name="position">1</property>
- </packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledWindow">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
+ <property name="hexpand">1</property>
+ <property name="vexpand">1</property>
<property name="hscrollbar_policy">never</property>
<child>
<object class="GtkViewport" id="_viewport">
<property name="width_request">600</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="hexpand">True</property>
+ <property name="hexpand">1</property>
<property name="shadow_type">none</property>
<child>
<object class="DiscListBox" id="_disc_list_box">
@@ -233,9 +171,6 @@
</object>
</child>
</object>
- <packing>
- <property name="position">2</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]