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, ...@@ -524,6 +524,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL, CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
fontSize ); fontSize );
CONFIG_GENERIC( "freetype-effect", IntegerList, NULL, effect ); CONFIG_GENERIC( "freetype-effect", IntegerList, NULL, effect );
CONFIG_GENERIC( "sub-margin", Integer, NULL, subsPosition );
END_SPREFS_CAT; END_SPREFS_CAT;
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>427</width> <width>434</width>
<height>380</height> <height>410</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -148,6 +148,32 @@ ...@@ -148,6 +148,32 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
</item> </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