Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a preferred-width attribute to kdenlivetitle text content properties #78

Merged
merged 1 commit into from Jun 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/modules/qt/kdenlivetitle_wrapper.cpp
Expand Up @@ -238,6 +238,10 @@ void loadFromXml( mlt_producer producer, QGraphicsScene *scene, const char *temp
if ( !txtProperties.namedItem( "kdenlive-axis-y-inverted" ).isNull() )
{
//txt->setData(OriginYTop, txtProperties.namedItem("kdenlive-axis-y-inverted").nodeValue().toInt());
}
if ( !txtProperties.namedItem("preferred-width").isNull() )
{
txt->setTextWidth( txtProperties.namedItem("preferred-width").nodeValue().toInt() );
}
gitem = txt;
}
Expand Down