Kaydet (Commit) e0bbfcbe authored tarafından Katarina Behrens's avatar Katarina Behrens

Move spinbox limit definition to .ui file

Change-Id: I5ef6e76d00e5b034109f5b3a0cabfd7b7fa798bc
üst 0c114151
......@@ -126,7 +126,6 @@ void ShadowPropertyPanel::Initialize()
Link<> bLink = LINK(this, ShadowPropertyPanel, ClickShadowHdl );
mpShowShadow->SetClickHdl( bLink );
Link<> aLink = LINK( this, ShadowPropertyPanel, ModifyShadowColorHdl );
mpShadowTransMetric->SetMax(100);
mpShadowTransMetric->SetModifyHdl( LINK(this, ShadowPropertyPanel, ModifyShadowTransMetricHdl) );
mpLBShadowColor->SetSelectHdl( aLink );
mpShadowAngle->SetModifyHdl( LINK(this, ShadowPropertyPanel, ModifyShadowDistanceHdl) );
......
......@@ -2,10 +2,16 @@
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">-180</property>
<property name="upper">360</property>
</object>
<object class="GtkAdjustment" id="adjustment2">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkGrid" id="ShadowPropertyPanel">
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -125,6 +131,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
<property name="adjustment">adjustment2</property>
</object>
<packing>
<property name="left_attach">2</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