Skip to content

Commit

Permalink
fix layout 2
Browse files Browse the repository at this point in the history
Improves the dialog layout for the BoxImageWindow.
  • Loading branch information
offhub committed Oct 3, 2024
1 parent 142456f commit 19625f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SandboxiePlus/SandMan/Forms/BoxImageWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<width>520</width>
<height>307</height>
</rect>
</property>
Expand All @@ -18,7 +18,7 @@
</property>
<property name="minimumSize">
<size>
<width>500</width>
<width>520</width>
<height>0</height>
</size>
</property>
Expand Down
3 changes: 3 additions & 0 deletions SandboxiePlus/SandMan/Windows/BoxImageWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ CBoxImageWindow::CBoxImageWindow(EAction Action, QWidget *parent)
}

//restoreGeometry(theConf->GetBlob("BoxImageWindow/Window_Geometry"));

// Adjust the size of the dialog
this->adjustSize();
}

void CBoxImageWindow::SetForce(bool force)
Expand Down

0 comments on commit 19625f4

Please sign in to comment.