Fix effect with long names prevent easy access to effect actions.

BUG: 416420
parent e0cc5b07
......@@ -48,6 +48,7 @@
#include <KDualAction>
#include <KMessageBox>
#include <KRecentDirs>
#include <KSqueezedTextLabel>
#include <klocalizedstring.h>
CollapsibleEffectView::CollapsibleEffectView(const std::shared_ptr<EffectItemModel> &effectModel, QSize frameSize, const QImage &icon, QWidget *parent)
......@@ -107,7 +108,7 @@ CollapsibleEffectView::CollapsibleEffectView(const std::shared_ptr<EffectItemMod
m_colorIcon = new QLabel(this);
l->insertWidget(0, m_colorIcon);
m_colorIcon->setFixedSize(collapseButton->sizeHint());
title = new QLabel(this);
title = new KSqueezedTextLabel(this);
l->insertWidget(2, title);
m_keyframesButton = new QToolButton(this);
......
......@@ -31,6 +31,7 @@
class QLabel;
class KDualAction;
class KSqueezedTextLabel;
class EffectItemModel;
class AssetParameterView;
......@@ -47,7 +48,7 @@ class CollapsibleEffectView : public AbstractCollapsibleWidget
public:
explicit CollapsibleEffectView(const std::shared_ptr<EffectItemModel> &effectModel, QSize frameSize, const QImage &icon, QWidget *parent = nullptr);
~CollapsibleEffectView() override;
QLabel *title;
KSqueezedTextLabel *title;
void setupWidget(const ItemInfo &info);
void updateTimecodeFormat();
......
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