-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed the problem that m_pCleanUpButton UI is displayed empty when NoIcons=1. #2273
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there should be a vertical separator between "Keep terminated" and "Cleanup".
Added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is happening with W7 / W11 x64, and there is no top border in the first two buttons:
EDIT: it is a thing even in older Sandman builds.
Resolved by okrc: #2280
Of course, my last review still stands (merging or not). |
I have commented out the separator, its intended that the vertical bars are not ever ware, rest of the changes are in and active |
This might be fine, but the visual inconsistency with Win7 (which is still supported in SBIE at this time) is still there. |
@isaak654 I zoomed in several times and found that this problem also exists on Windows 11, which is supposed to be caused by m_pMenuBar. Sandboxie/SandboxiePlus/SandMan/SandMan.cpp Lines 175 to 181 in af32bd5
QWidget* pMenuWidget = new QWidget(this);
m_pMenuLayout = new QHBoxLayout(pMenuWidget);
m_pMenuLayout->setContentsMargins(0, 0, 0, 0);
//m_pMenuLayout->addWidget(m_pMenuBar);
m_pMenuLayout->setMenuBar(m_pMenuBar);
//m_pMenuLayout->addWidget(m_pLabel);
//m_pMenuLayout->addStretch(10);
setMenuWidget(pMenuWidget); It seems to be solved. |
@okrc |
Fixed the problem that
m_pCleanUpButton
UI is displayed empty whenNoIcons=1
.