handle input on text change & padding
This commit is contained in:
@@ -242,3 +242,8 @@ void DoricViewNode::onClick() {
|
||||
QVariantList args;
|
||||
callJSResponse(clickFunction, args);
|
||||
}
|
||||
|
||||
QSizeF DoricViewNode::sizeThatFits(QSizeF size) {
|
||||
return QSizeF(qMin(size.width(), mView->width()),
|
||||
qMin(size.height(), mView->height()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user