From c90340a0a5df46cb45a0b6946e139264ba9e24a4 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:09:52 +0200 Subject: [PATCH] #3697 --- CHANGELOG.md | 1 + SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui | 2 +- SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp | 6 ++---- SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp | 1 + 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97fec82a..a8f51a3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - added Make the trigger list editable [#3742](https://github.com/sandboxie-plus/Sandboxie/issues/3742) - added Optionally extend the screenshot protection to the UI [#3739](https://github.com/sandboxie-plus/Sandboxie/issues/3739) - added a button to edit local/custom templates [#3738](https://github.com/sandboxie-plus/Sandboxie/issues/3738) +- asses Permanently Re-sizable or Larger "Run Sandboxed" Window [#3697](https://github.com/sandboxie-plus/Sandboxie/issues/3697) ### Changed - improved Avast template [#3777](https://github.com/sandboxie-plus/Sandboxie/pull/3777) diff --git a/SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui b/SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui index 0f31c89a..4b04b6e1 100644 --- a/SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui +++ b/SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui @@ -6,7 +6,7 @@ 0 0 - 263 + 290 430 diff --git a/SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp b/SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp index 2a8b5df6..b3fc3fdc 100644 --- a/SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp +++ b/SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp @@ -27,8 +27,6 @@ CBoxPicker::CBoxPicker(QString DefaultBox, QWidget* parent) pLayout->setContentsMargins(0, 0, 0, 0); pLayout->addWidget(new CFinder(this, this, 0)); pLayout->insertWidget(0, m_pTreeBoxes); - - this->setMaximumWidth(300); if(DefaultBox.isEmpty() && theAPI->IsConnected()) DefaultBox = theAPI->GetGlobalSettings()->GetText("DefaultBox", "DefaultBox"); @@ -197,12 +195,12 @@ CSelectBoxWindow::CSelectBoxWindow(const QStringList& Commands, const QString& B m_pBoxPicker->setFocus(); - //restoreGeometry(theConf->GetBlob("SelectBoxWindow/Window_Geometry")); + restoreGeometry(theConf->GetBlob("SelectBoxWindow/Window_Geometry")); } CSelectBoxWindow::~CSelectBoxWindow() { - //theConf->SetBlob("SelectBoxWindow/Window_Geometry", saveGeometry()); + theConf->SetBlob("SelectBoxWindow/Window_Geometry", saveGeometry()); } void CSelectBoxWindow::closeEvent(QCloseEvent *e) diff --git a/SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp b/SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp index a38512c9..0c238694 100644 --- a/SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp +++ b/SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp @@ -698,6 +698,7 @@ void CRunPage::OnStateChanged(int state, const QString& Text) QString Name = name; //if(!Name.isEmpty()) pForm->addRow(new QLabel(Name)); CBoxPicker* pPicker = new CBoxPicker(value.toString()); + pPicker->setMaximumWidth(300); pWidget = pPicker; pForm->addRow(Name, pPicker); }