fix:修正文件信息页面尺寸问题打印。

This commit is contained in:
2025-11-15 17:14:18 +08:00
parent 599e5524d4
commit de792bb68f
4 changed files with 8 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ FileInfo::FileInfo(QWidget* parent) : QDialog(parent), ui(new Ui::FileInfo)
{
ui->setupUi(this);
InitControl();
setWindowTitle(tr("属性"));
setFixedSize(minimumSizeHint());
}
FileInfo::~FileInfo()
@@ -28,4 +28,6 @@ void FileInfo::InitControl()
{
ui->pedDir->setReadOnly(true);
ui->pedName->setReadOnly(true);
connect(ui->btnClose, &QPushButton::clicked, this, &FileInfo::close);
}

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>544</width>
<height>300</height>
<width>254</width>
<height>242</height>
</rect>
</property>
<property name="windowTitle">