Fix property dialog size
This commit is contained in:
parent
84edf40876
commit
8418faf167
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ FilePropertiesDialog::~FilePropertiesDialog()
|
|||
|
||||
void FilePropertiesDialog::updateSize(int width, int height)
|
||||
{
|
||||
setBaseSize(QSize(width, height));
|
||||
resize(QSize(width, height));
|
||||
setMinimumSize(QSize(width, height));
|
||||
setMaximumSize(QSize(width, height));
|
||||
}
|
||||
|
|
|
@ -29,8 +29,8 @@ Item {
|
|||
property int widthValue: _mainLayout.implicitWidth + FishUI.Units.largeSpacing * 4
|
||||
property int heightValue: _mainLayout.implicitHeight + FishUI.Units.largeSpacing * 2
|
||||
|
||||
// width: widthValue
|
||||
// height: heightValue
|
||||
width: widthValue
|
||||
height: heightValue
|
||||
|
||||
onWidthValueChanged: main.updateSize(widthValue, heightValue)
|
||||
onHeightValueChanged: main.updateSize(widthValue, heightValue)
|
||||
|
|
Loading…
Reference in a new issue