mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Spacing fixes for builtin dialogs
Replace border-width and padding by margins, in most places.
This commit is contained in:
parent
50a75b37a9
commit
6861a5d0a4
@ -24,11 +24,13 @@
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box">
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">12</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="logo_image">
|
||||
<property name="visible">1</property>
|
||||
@ -170,6 +172,7 @@
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="row-spacing">2</property>
|
||||
<property name="column-spacing">8</property>
|
||||
<property name="margin">5</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -9,10 +9,12 @@
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkColorChooserWidget" id="chooser">
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="margin">5</property>
|
||||
<property name="rgba">rgb(255,255,255)</property>
|
||||
<signal name="color-activated" handler="color_activated_cb" swapped="no"/>
|
||||
<signal name="notify::rgba" handler="propagate_notify" swapped="no"/>
|
||||
|
@ -11,6 +11,7 @@
|
||||
<property name="orientation">vertical</property>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkButtonBox" id="dialog-action_area1">
|
||||
<property name="margin">6</property>
|
||||
<property name="layout-style">end</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -54,6 +54,7 @@
|
||||
<object class="GtkBox">
|
||||
<property name="visible">1</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">6</property>
|
||||
<child>
|
||||
<object class="GtkPathBar" id="browse_path_bar">
|
||||
<property name="visible">True</property>
|
||||
@ -93,6 +94,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="no-show-all">1</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">6</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="name">location</property>
|
||||
@ -103,6 +105,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="no-show-all">1</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">6</property>
|
||||
<child type="center">
|
||||
<object class="GtkSearchEntry" id="search_entry">
|
||||
<property name="visible">1</property>
|
||||
|
@ -11,6 +11,7 @@
|
||||
<object class="GtkLabel" id="font_label">
|
||||
<property name="visible">1</property>
|
||||
<property name="label" translatable="yes">Font</property>
|
||||
<property name="margin">5</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">1</property>
|
||||
@ -33,6 +34,7 @@
|
||||
<object class="GtkLabel" id="size_label">
|
||||
<property name="visible">1</property>
|
||||
<property name="label">14</property>
|
||||
<property name="margin">5</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="fill">0</property>
|
||||
|
@ -8,11 +8,13 @@
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkFontChooserWidget" id="fontchooser">
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">5</property>
|
||||
<signal name="font-activated" handler="font_activated_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<object class="GtkBox" id="content_area">
|
||||
<property name="visible">1</property>
|
||||
<property name="spacing">16</property>
|
||||
<property name="margin">8</property>
|
||||
<property name="hexpand">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -22,6 +23,7 @@
|
||||
<object class="GtkButtonBox" id="action_area">
|
||||
<property name="visible">1</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">6</property>
|
||||
<property name="layout-style">end</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -32,6 +34,7 @@
|
||||
<object class="GtkButton" id="close_button">
|
||||
<property name="can-focus">1</property>
|
||||
<property name="relief">none</property>
|
||||
<property name="margin">6</property>
|
||||
<property name="valign">center</property>
|
||||
<style>
|
||||
<class name="close"/>
|
||||
|
@ -32,11 +32,13 @@
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkGrid" id="grid1">
|
||||
<property name="visible">1</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<property name="margin">5</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="printer_combo_label">
|
||||
<property name="visible">1</property>
|
||||
|
@ -22,6 +22,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">18</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">1</property>
|
||||
@ -282,6 +283,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">12</property>
|
||||
<property name="margin">12</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">1</property>
|
||||
|
@ -73,6 +73,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">18</property>
|
||||
<property name="margin">12</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box2">
|
||||
<property name="visible">1</property>
|
||||
@ -430,6 +431,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">18</property>
|
||||
<property name="margin">12</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box4">
|
||||
<property name="visible">1</property>
|
||||
@ -855,6 +857,7 @@
|
||||
<object class="GtkGrid" id="job_page">
|
||||
<property name="row-spacing">18</property>
|
||||
<property name="column-spacing">18</property>
|
||||
<property name="margin">12</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="frame_template5">
|
||||
<property name="visible">1</property>
|
||||
@ -1188,6 +1191,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<property name="margin">12</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
@ -1220,6 +1224,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<property name="margin">12</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
@ -1252,6 +1257,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<property name="margin">12</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
@ -1284,6 +1290,7 @@
|
||||
<property name="visible">1</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">18</property>
|
||||
<property name="margin">12</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -10,6 +10,7 @@
|
||||
<object class="GtkBox" id="tool_box">
|
||||
<property name="visible">1</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin">6</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box_left">
|
||||
<property name="visible">1</property>
|
||||
|
Loading…
Reference in New Issue
Block a user