_layout.addWidget(instruction_label, current_row, 1);
instruction_label->setVisible(true);
- width = 12 + _widget.sizeHint().width();
+ width = 12 + _widget.childrenRect().width();
height = 25 + _widget.childrenRect().height();
if (width < 250) width = 250;