fae7fd3d19
with the intent to do the same replacement with GtkWindow under X11 for gtk3 that we do in MenuButtons for the popover with direct popovers when the constraint is GTK_POPOVER_CONSTRAINT_NONE Change-Id: I629c30b44a9e362ba0d924bb229930b5f0dc7ed3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125540 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
251 lines
12 KiB
XML
251 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.22.1 -->
|
|
<interface domain="svx">
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkPopover" id="ParaLineSpacingControl">
|
|
<property name="can_focus">False</property>
|
|
<property name="no_show_all">True</property>
|
|
<property name="border_width">4</property>
|
|
<property name="constrain-to">none</property>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="container">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="spacing_1">
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|spacing_1">Spacing: 1</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="image">image_spacing_1</property>
|
|
<property name="relief">none</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="always_show_image">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="spacing_115">
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|spacing_115">Spacing: 1.15</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="image">image_spacing_115</property>
|
|
<property name="relief">none</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="always_show_image">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="spacing_15">
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|spacing_15">Spacing: 1.5</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="image">image_spacing_15</property>
|
|
<property name="relief">none</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="always_show_image">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="spacing_2">
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|spacing_2">Spacing: 2</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="image">image_spacing_2</property>
|
|
<property name="relief">none</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="always_show_image">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame" id="frame1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">6</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="label_xalign">0</property>
|
|
<property name="shadow_type">none</property>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="row_spacing">6</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|label3">Line Spacing:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">line_dist</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="line_dist">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<items>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">Single</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">1.15 Lines</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">1.5 Lines</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">Double</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">Proportional</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">At least</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">Leading</item>
|
|
<item translatable="yes" context="paralinespacingcontrol|line_dist">Fixed</item>
|
|
</items>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="value_label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|value_label">Value:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">grid1</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="GtkSpinButton" id="percent_box">
|
|
<property name="can_focus">True</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="metric_box">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="adjustment">adjustment2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<property name="digits">2</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="paralinespacingcontrol|label2">Custom Value</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">4</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
<property name="lower">6</property>
|
|
<property name="upper">65535</property>
|
|
<property name="value">100</property>
|
|
<property name="step_increment">10</property>
|
|
<property name="page_increment">50</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment2">
|
|
<property name="lower">0.01</property>
|
|
<property name="upper">9999</property>
|
|
<property name="value">0.5</property>
|
|
<property name="step_increment">0.1</property>
|
|
<property name="page_increment">1</property>
|
|
</object>
|
|
<object class="GtkImage" id="image_spacing_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">cmd/lc_spacepara1.png</property>
|
|
</object>
|
|
<object class="GtkImage" id="image_spacing_115">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">cmd/lc_spacepara1.png</property>
|
|
<property name="icon_size">1</property>
|
|
</object>
|
|
<object class="GtkImage" id="image_spacing_15">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">cmd/lc_spacepara15.png</property>
|
|
<property name="icon_size">1</property>
|
|
</object>
|
|
<object class="GtkImage" id="image_spacing_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">cmd/lc_spacepara2.png</property>
|
|
<property name="icon_size">1</property>
|
|
</object>
|
|
</interface>
|