stop disabling spinboxes in resize popup

This commit is contained in:
t 2025-02-06 13:03:48 -05:00
parent 51773926d2
commit 287e65b514

View File

@ -118,8 +118,6 @@ void ResizeLayoutPopup::setupLayoutView() {
this->ui->spinBox_borderHeight->setMinimum(1);
this->ui->spinBox_borderWidth->setMaximum(MAX_BORDER_WIDTH);
this->ui->spinBox_borderHeight->setMaximum(MAX_BORDER_HEIGHT);
this->ui->spinBox_borderWidth->setLineEditEnabled(false);
this->ui->spinBox_borderHeight->setLineEditEnabled(false);
} else {
this->ui->frame_border->setVisible(false);
}
@ -140,9 +138,6 @@ void ResizeLayoutPopup::setupLayoutView() {
this->ui->spinBox_height->setMinimum(1);
this->ui->spinBox_height->setMaximum(maxHeight);
//this->ui->spinBox_width->setLineEditEnabled(false);
//this->ui->spinBox_height->setLineEditEnabled(false);
static bool layoutSizeRectVisible = true;
this->outline = new ResizableRect(this, &layoutSizeRectVisible, this->editor->layout->getWidth(), this->editor->layout->getHeight(), qRgb(255, 0, 255));