Kaydet (Commit) 57404333 authored tarafından Szymon Kłos's avatar Szymon Kłos

Port field without buttons, max 4 chars

Change-Id: I4ddc294dba5ad66a11ff260e8942977d0a6a292f
üst 02daf3c9
...@@ -77,7 +77,7 @@ HostDetailsContainer::HostDetailsContainer( VclBuilderContainer* pBuilder, sal_u ...@@ -77,7 +77,7 @@ HostDetailsContainer::HostDetailsContainer( VclBuilderContainer* pBuilder, sal_u
pBuilder->get( m_pEDHost, "host" ); pBuilder->get( m_pEDHost, "host" );
m_pEDHost->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) ); m_pEDHost->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) );
pBuilder->get( m_pEDPort, "port" ); pBuilder->get( m_pEDPort, "port-nospin" );
m_pEDPort->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) ); m_pEDPort->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) );
pBuilder->get( m_pEDPath, "path" ); pBuilder->get( m_pEDPath, "path" );
......
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="label" translatable="yes">Port:</property> <property name="label" translatable="yes">Port:</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">port</property> <property name="mnemonic_widget">port-nospin</property>
</object> </object>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
...@@ -249,10 +249,12 @@ ...@@ -249,10 +249,12 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkSpinButton" id="port"> <object class="GtkSpinButton" id="port-nospin">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="max_length">4</property>
<property name="invisible_char"></property> <property name="invisible_char"></property>
<property name="max_width_chars">4</property>
<property name="text" translatable="yes">0</property> <property name="text" translatable="yes">0</property>
<property name="adjustment">adjustment1</property> <property name="adjustment">adjustment1</property>
<property name="numeric">True</property> <property name="numeric">True</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment