[rygel/config] Random size/alignment improvements
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Random size/alignment improvements
- Date: Tue, 28 Apr 2009 17:41:30 -0400 (EDT)
commit 26bfc3658399011f943f88714462807d64a73232
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 28 16:55:53 2009 +0300
Random size/alignment improvements
---
data/rygel-preferences.ui | 358 +++++++++++++++++++++++++++------------------
1 files changed, 214 insertions(+), 144 deletions(-)
diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui
index ed2da8f..355715a 100644
--- a/data/rygel-preferences.ui
+++ b/data/rygel-preferences.ui
@@ -12,9 +12,10 @@
<object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="orientation">vertical</property>
- <property name="spacing">2</property>
+ <property name="spacing">12</property>
<child>
<object class="GtkNotebook" id="preferences-notebook">
+ <property name="width_request">400</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
@@ -102,76 +103,95 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox2">
+ <object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
+ <property name="top_padding">12</property>
+ <property name="bottom_padding">12</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
<child>
- <object class="GtkCheckButton" id="tracker-enabled-checkbutton">
- <property name="label" translatable="yes">Enabled</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox3">
+ <object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="tracker-title-label">
+ <object class="GtkCheckButton" id="tracker-enabled-checkbutton">
+ <property name="label" translatable="yes">Enabled</property>
<property name="visible">True</property>
- <property name="label" translatable="yes">Title</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkEntry" id="tracker-title-entry">
+ <object class="GtkHBox" id="hbox3">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">This is the name that will appear on the client UIs.</property>
- <property name="invisible_char">●</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="tracker-title-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Title</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="tracker-title-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox4">
- <property name="visible">True</property>
<child>
- <object class="GtkLabel" id="tracker-udn-label">
+ <object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
- <property name="label" translatable="yes">UDN</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="tracker-udn-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">The Unique Device Name (UDN) for this plugin. Usually, there is no need to change this.</property>
- <property name="invisible_char">●</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="tracker-udn-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">UDN</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="tracker-udn-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
- <packing>
- <property name="position">2</property>
- </packing>
</child>
</object>
<packing>
@@ -189,78 +209,97 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox3">
+ <object class="GtkAlignment" id="alignment3">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkCheckButton" id="dvb-enabled-checkbutton">
- <property name="label" translatable="yes">Enabled</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
+ <property name="top_padding">12</property>
+ <property name="bottom_padding">12</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
<child>
- <object class="GtkHBox" id="hbox5">
+ <object class="GtkVBox" id="vbox3">
<property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="dvb-title-label">
+ <object class="GtkCheckButton" id="dvb-enabled-checkbutton">
+ <property name="label" translatable="yes">Enabled</property>
<property name="visible">True</property>
- <property name="label" translatable="yes">Title</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkEntry" id="dvb-title-entry">
+ <object class="GtkHBox" id="hbox5">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">This is the name that will appear on the client UIs.</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="dvb-title-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Title</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="dvb-title-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ <property name="invisible_char_set">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox6">
- <property name="visible">True</property>
<child>
- <object class="GtkLabel" id="dvb-udn-label">
+ <object class="GtkHBox" id="hbox6">
<property name="visible">True</property>
- <property name="label" translatable="yes">UDN</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="dvb-udn-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">The Unique Device Name (UDN) for this plugin. Usually, there is no need to change this.</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="dvb-udn-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">UDN</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="dvb-udn-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ <property name="invisible_char_set">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
- <packing>
- <property name="position">2</property>
- </packing>
</child>
</object>
<packing>
@@ -278,79 +317,97 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox4">
+ <object class="GtkAlignment" id="alignment4">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
+ <property name="top_padding">12</property>
+ <property name="bottom_padding">12</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
<child>
- <object class="GtkCheckButton" id="test-enabled-checkbutton">
- <property name="label" translatable="yes">Enabled</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text">Enable/Disable this plugin.</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox7">
+ <object class="GtkVBox" id="vbox4">
<property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="test-title-label">
+ <object class="GtkCheckButton" id="test-enabled-checkbutton">
+ <property name="label" translatable="yes">Enabled</property>
<property name="visible">True</property>
- <property name="label" translatable="yes">Title</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkEntry" id="test-title-entry">
+ <object class="GtkHBox" id="hbox7">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">This is the name that will appear on the client UIs.</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="test-title-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Title</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="test-title-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ <property name="invisible_char_set">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox8">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="test-udn-label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">UDN</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
<child>
- <object class="GtkEntry" id="test-udn-entry">
+ <object class="GtkHBox" id="hbox8">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">The Unique Device Name (UDN) for this plugin. Usually, there is no need to change this.</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="test-udn-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">UDN</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="test-udn-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">30</property>
+ <property name="invisible_char_set">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
- <packing>
- <property name="position">2</property>
- </packing>
</child>
</object>
<packing>
@@ -439,4 +496,17 @@
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
+ <object class="GtkSizeGroup" id="general-labels-sizegroup">
+ <property name="mode">both</property>
+ </object>
+ <object class="GtkSizeGroup" id="plugin-labels-sizegroup">
+ <widgets>
+ <widget name="tracker-title-label"/>
+ <widget name="tracker-udn-label"/>
+ <widget name="dvb-title-label"/>
+ <widget name="dvb-udn-label"/>
+ <widget name="test-title-label"/>
+ <widget name="test-udn-label"/>
+ </widgets>
+ </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]