Remove the size group where mtu label belongs, so that it can request enough space when it becomes visible. Since the size group is removed, filler widget is no longer useful. Remove it as well.
223 lines
7.6 KiB
XML
223 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
<property name="upper">10000</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkListStore" id="model1">
|
|
<columns>
|
|
<!-- column-name gchararray1 -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">Automatic</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Twisted Pair (TP)</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Attachment Unit Interface (AUI)</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">BNC</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Media Independent Interface (MII)</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkListStore" id="model2">
|
|
<columns>
|
|
<!-- column-name < -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">Automatic</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">10 Mb/s</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">100 Mb/s</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">1 Gb/s</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">10 Gb/s</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkGrid" id="page">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">50</property>
|
|
<property name="margin_end">50</property>
|
|
<property name="margin_top">12</property>
|
|
<property name="margin_bottom">12</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="row_spacing">10</property>
|
|
<property name="column_spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_name">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Name</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">entry_name</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="entry_name">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="invisible_char">●</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_mac">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_MAC Address</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">combo_mac</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="combo_mac">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="has_entry">True</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="id_column">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="combo_cloned_mac">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="has_entry">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="active_id">0</property>
|
|
<child internal-child="entry">
|
|
<object class="GtkEntry">
|
|
<property name="can_focus">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_mtu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">M_TU</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">spin_mtu</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_cloned_mac">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="valign">center</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Cloned Address</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">combo_cloned_mac</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label_mtu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">bytes</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="spin_mtu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="invisible_char_set">True</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
</interface>
|