Commit 039dbffd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: Sprefs, add sub-margin.

parent 385cc5a9
......@@ -524,6 +524,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
fontSize );
CONFIG_GENERIC( "freetype-effect", IntegerList, NULL, effect );
CONFIG_GENERIC( "sub-margin", Integer, NULL, subsPosition );
END_SPREFS_CAT;
......
......@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>427</width>
<height>380</height>
<width>434</width>
<height>410</height>
</rect>
</property>
<property name="windowTitle" >
......@@ -148,6 +148,32 @@
</property>
</widget>
</item>
<item row="4" column="1" colspan="2" >
<widget class="QSpinBox" name="subsPosition" >
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix" >
<string> px</string>
</property>
<property name="minimum" >
<number>-1024</number>
</property>
<property name="maximum" >
<number>1024</number>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>_("Force subtitle position")</string>
</property>
<property name="buddy" >
<cstring>subsPosition</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......
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