Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
528633a4
Commit
528633a4
authored
Dec 16, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix default font size and color for first start
Fixes
#488
parent
f9c980c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/titler/titlewidget.cpp
View file @
528633a4
...
...
@@ -2231,7 +2231,7 @@ void TitleWidget::readChoices()
const
QByteArray
geometry
=
titleConfig
.
readEntry
(
"dialog_geometry"
,
QByteArray
());
restoreGeometry
(
QByteArray
::
fromBase64
(
geometry
));
font_family
->
setCurrentFont
(
titleConfig
.
readEntry
(
"font_family"
,
font_family
->
currentFont
()));
font_size
->
setValue
(
titleConfig
.
readEntry
(
"font_pixel_size"
,
font_size
->
value
()));
font_size
->
setValue
(
titleConfig
.
readEntry
(
"font_pixel_size"
,
m_frameHeight
>
0
?
(
int
)(
m_frameHeight
/
20
)
:
font_size
->
value
()));
m_scene
->
slotUpdateFontSize
(
font_size
->
value
());
QColor
fontColor
=
QColor
(
titleConfig
.
readEntry
(
"font_color"
,
fontColorButton
->
color
()));
QColor
outlineColor
=
QColor
(
titleConfig
.
readEntry
(
"font_outline_color"
,
textOutlineColor
->
color
()));
...
...
src/ui/titlewidget_ui.ui
View file @
528633a4
...
...
@@ -745,8 +745,8 @@
</property>
<property
name=
"color"
stdset=
"0"
>
<color>
<red>
8
5
</red>
<green>
170
</green>
<red>
25
5
</red>
<green>
255
</green>
<blue>
255
</blue>
</color>
</property>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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