Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
039dbffd
Commit
039dbffd
authored
Sep 22, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: Sprefs, add sub-margin.
parent
385cc5a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-0
modules/gui/qt4/ui/sprefs_subtitles.ui
modules/gui/qt4/ui/sprefs_subtitles.ui
+28
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
039dbffd
...
...
@@ -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
;
...
...
modules/gui/qt4/ui/sprefs_subtitles.ui
View file @
039dbffd
...
...
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>4
27
</width>
<height>
38
0</height>
<width>4
34
</width>
<height>
41
0</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment