Scale TitleTemplateDialog preview with the window

Authored by Zren on Apr 9 2018, 2:14 AM.



Removed the spacer below the textbox+preview so that the preview scales vertically.
Set the preview horizontal size policy to MinimumExpanding so it's not fixed to 200px wide.

Video Preview:

Diff Detail

R158 Kdenlive
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Zren requested review of this revision.Apr 9 2018, 2:14 AM
Zren created this revision.
mardelle accepted this revision.Apr 9 2018, 6:45 AM
mardelle added a subscriber: mardelle.

Thanks for this improvement. Ok to commit

This revision is now accepted and ready to land.Apr 9 2018, 6:45 AM
This revision was automatically updated to reflect the committed changes.
Zren added a comment.Apr 9 2018, 9:47 PM

Thanks for accepting it! I think I'll try having it preview a the text next. Need to replace the %s in the preview with the QTextEdit text.