summaryrefslogtreecommitdiffstats
path: root/svtools/uiconfig
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-05 11:13:09 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:35 +0200
commit57404333c06c3ee21efb9471a3afbc19f5254a86 (patch)
tree7191faf07473fd49f7f94ec12fdbe4ec07a92ea1 /svtools/uiconfig
parentPort field on the same line as Host (diff)
downloadcore-57404333c06c3ee21efb9471a3afbc19f5254a86.tar.gz
core-57404333c06c3ee21efb9471a3afbc19f5254a86.zip
Port field without buttons, max 4 chars
Change-Id: I4ddc294dba5ad66a11ff260e8942977d0a6a292f
Diffstat (limited to 'svtools/uiconfig')
-rw-r--r--svtools/uiconfig/ui/placeedit.ui6
1 files changed, 4 insertions, 2 deletions
diff --git a/svtools/uiconfig/ui/placeedit.ui b/svtools/uiconfig/ui/placeedit.ui
index 272c096917c6..4fb556b52fbb 100644
--- a/svtools/uiconfig/ui/placeedit.ui
+++ b/svtools/uiconfig/ui/placeedit.ui
@@ -241,7 +241,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Port:</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">port</property>
+ <property name="mnemonic_widget">port-nospin</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -249,10 +249,12 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="port">
+ <object class="GtkSpinButton" id="port-nospin">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="max_length">4</property>
<property name="invisible_char">●</property>
+ <property name="max_width_chars">4</property>
<property name="text" translatable="yes">0</property>
<property name="adjustment">adjustment1</property>
<property name="numeric">True</property>