mirror of
https://github.com/huderlem/porymap.git
synced 2026-04-25 07:18:02 -05:00
stop disabling spinboxes in resize popup
This commit is contained in:
parent
51773926d2
commit
287e65b514
|
|
@ -118,8 +118,6 @@ void ResizeLayoutPopup::setupLayoutView() {
|
||||||
this->ui->spinBox_borderHeight->setMinimum(1);
|
this->ui->spinBox_borderHeight->setMinimum(1);
|
||||||
this->ui->spinBox_borderWidth->setMaximum(MAX_BORDER_WIDTH);
|
this->ui->spinBox_borderWidth->setMaximum(MAX_BORDER_WIDTH);
|
||||||
this->ui->spinBox_borderHeight->setMaximum(MAX_BORDER_HEIGHT);
|
this->ui->spinBox_borderHeight->setMaximum(MAX_BORDER_HEIGHT);
|
||||||
this->ui->spinBox_borderWidth->setLineEditEnabled(false);
|
|
||||||
this->ui->spinBox_borderHeight->setLineEditEnabled(false);
|
|
||||||
} else {
|
} else {
|
||||||
this->ui->frame_border->setVisible(false);
|
this->ui->frame_border->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
@ -140,9 +138,6 @@ void ResizeLayoutPopup::setupLayoutView() {
|
||||||
this->ui->spinBox_height->setMinimum(1);
|
this->ui->spinBox_height->setMinimum(1);
|
||||||
this->ui->spinBox_height->setMaximum(maxHeight);
|
this->ui->spinBox_height->setMaximum(maxHeight);
|
||||||
|
|
||||||
//this->ui->spinBox_width->setLineEditEnabled(false);
|
|
||||||
//this->ui->spinBox_height->setLineEditEnabled(false);
|
|
||||||
|
|
||||||
static bool layoutSizeRectVisible = true;
|
static bool layoutSizeRectVisible = true;
|
||||||
|
|
||||||
this->outline = new ResizableRect(this, &layoutSizeRectVisible, this->editor->layout->getWidth(), this->editor->layout->getHeight(), qRgb(255, 0, 255));
|
this->outline = new ResizableRect(this, &layoutSizeRectVisible, this->editor->layout->getWidth(), this->editor->layout->getHeight(), qRgb(255, 0, 255));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user