https://bugs.kde.org/show_bug.cgi?id=372342

Yingjie Liu <1127553...@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1127553...@qq.com

--- Comment #1 from Yingjie Liu <1127553...@qq.com> ---
Hi,
I spent about 1 day time compiling the code and installing it(failed to compile
on Ubuntu 15 because of exiv2 version problem, then succeeded on Ubuntu 16).
After compiled the code, I started to read it and trying to fix the bug.
This is the qt working flow about face tag input box: 
Face tag input box is object of class AssignNameWidget, when user clicked "show
face tags" Action, object of AssignNameWidget will be created by class
FaceGroup.
AssignNameWidget inherits QFrame, the input box is QLineEdit inside the QFrame.
QLineEdit can't be made multi line, so I changed the size of QFrame. The
attachment "before" shows the input box before I change the width of QFrame.
QFrame inherits QWidget, so it can use the method setFixedWidth to change its
width.
I add the code:
q->setFixedWidth(500);
in utilities\facemanagement\assignnamewidget.cpp void updateLayout()
The input box has been enlarged in width as shown in attachment "after".
There may be other solutions, I'd like to talk with you. Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to