Skip to content
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

fix: 修复了计算器UI 按钮间隔不一致的问题 #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moondie
Copy link
Contributor

@moondie moondie commented Apr 19, 2023

原issue:
由于原代码的按钮区域大未正确设置,且按钮设置为固定大小,而 QGridLayout会自动调整,导致按钮间隔不一致。 现在略微修改一些Widget和按钮宽度,将按钮大小调整为用setMaximumSize或setMinimumSize设置,使得各模式下按钮布局间隔均一致。
修改前后对比(左图为修改后效果):
截图_选择区域_20230419195126
标准模式最明显
截图_选择区域_20230419195157
科学模式
截图_选择区域_20230419195233
程序员模式

整体布局更加和谐,特别是标准模式、科学模式。

由于原代码的按钮区域大未正确设置,且按钮设置为固定大小,而 QGridLayout会自动调整,导致按钮间隔不一致。
现在略微修改一些Widget和按钮宽度,将按钮大小调整为用setMaximumSize或setMinimumSize设置,使得各模式下按钮布局间隔均一致。
@hundundadi
Copy link

Hello, after our internal evaluation, this pr has certain risks and is not suitable for the time being.
录屏_选择区域_20231107153547

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 11, 2024

TAG Bot

New tag: 6.0.1
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #110

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 14, 2024

TAG Bot

New tag: 6.0.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #114

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 16, 2024

TAG Bot

New tag: 6.5.0
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants