Skip to content

fix: make keyboard layout plugin size fixed and adjust tray icon size - #790

Merged
deepin-bot[bot] merged 2 commits into
linuxdeepin:masterfrom
tsic404:keyboard-layout-fix
May 29, 2023
Merged

deepin-bot[bot] merged 2 commits into
linuxdeepin:masterfrom
tsic404:keyboard-layout-fix

Conversation

@tsic404

@tsic404 tsic404 commented Mar 7, 2023 •

Copy link
Copy Markdown
Contributor
  1. indicator icon size shou be fixed same as other tray icon, should not change follow system font size.
  2. add text change info from sourceIndicatorWidget to display indicatorWidget
  3. adjust tray icon to 20 pixel.

Resolve: linuxdeepin/developer-center#3834
Resolve: linuxdeepin/developer-center#4321

@tsic404

tsic404 commented Mar 15, 2023

Copy link
Copy Markdown
Contributor Author

/check build

@tsic404
tsic404 requested a review from a team March 28, 2023 02:44
@tsic404
tsic404 marked this pull request as draft April 24, 2023 02:08
@tsic404
tsic404 marked this pull request as ready for review May 22, 2023 07:30
@tsic404

tsic404 commented May 22, 2023

Copy link
Copy Markdown
Contributor Author

通过layout->setContentsMargins的方式垫高全小写的文本,达到小写文本局中效果
image
(远程连接,所以有点糊 :(

@tsic404 tsic404 changed the title fix: make keyboard layout plugin size fixed fix: make keyboard layout plugin size fixed and adjust tray icon size May 22, 2023
@tsic404
tsic404 requested review from a team, BLumia and asterwyx May 22, 2023 07:47
@tsic404
tsic404 requested review from a team and BLumia May 22, 2023 08:17
BLumia
BLumia previously approved these changes May 23, 2023
Comment thread frame/window/tray/tray_delegate.h Resolved
tsic404 added 2 commits May 26, 2023 11:44
indicator icon size shou be fixed same as other tray icon, should not changed follow system font size.
add text change info from sourceIndicatorWidget to display indicatorWidget

log:
16 pixel size will make tray icon be cutted and
make it to 20 will reserve 2 pixels for each side

log: make tray icon size to 20
@tsic404
tsic404 requested a review from asterwyx May 26, 2023 03:45
@tsic404

tsic404 commented May 29, 2023

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit c1aa1cf into linuxdeepin:master May 29, 2023
@tsic404
tsic404 deleted the keyboard-layout-fix branch January 12, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants