How to remove textarea from checkbox
Unsolved
General and Desktop
-
Can you tell me how to remove the textarea of the checkbox?
As shown in the following figure, I made the checkbox visible(false), but it seems to hold the size of the text area.
If I make the frame itself invisible, it works the way I want it to, but is there another way?
Because it is giving an animation effect.auto anim = new QPropertyAnimation(this->ui.frame, "minimumWidth", this); anim->setDuration(500); anim->setStartValue(bShow ? 0 : m_nCheckArea + nOffset); anim->setEndValue(bShow ? m_nCheckArea + nOffset : 0); anim->setDirection(true ? QAbstractAnimation::Forward : QAbstractAnimation::Backward); anim->setEasingCurve(true ? QEasingCurve::OutCubic : QEasingCurve::InCubic); anim->start(QAbstractAnimation::DeleteWhenStopped); }