-
Notifications
You must be signed in to change notification settings - Fork 143
fix: 使用有限换行以修复toast无宽度限制的问题 #3515
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
Open
sysfox
wants to merge
25
commits into
PCL-Community:dev
Choose a base branch
from
sysfox:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a69960f
feat(debug-toast): 添加测试弹窗功能及相关本地化字符串
sysfox 96e6798
feat(toast): 限制弹窗宽高,点击展示完整内容
sysfox b715dd0
feat(toast): 新弹窗叠置于旧弹窗上方
sysfox 699c30d
feat(setup): 调试选项支持连续触发多条弹窗
sysfox 783588a
fix(toast): 内容限 3 行省略,收窄最大宽度
sysfox e2fdd64
feat(toast): 弹窗按 Z 轴叠置,露出上沿可数数量
sysfox d25a1bf
feat(toast): 入场回弹落位与图标按压,叠置栈补位改为整体层动
sysfox 0fd1193
feat(toast): 工具箱质感——楔形色标、下沉进度轨道、信息类型降噪
sysfox 0a0fa31
fix(toast): 修复短文本弹窗初始过宽并逐步收窄的宽度回归
sysfox c7b021e
feat(toast): 文本上限提至 6 行,悬停暂停加载条,加强回弹动效
sysfox 34031c9
feat(toast): 信息类弹窗用主题色,详情弹窗图标与类型联动
sysfox c4ebabc
fix(toast): 消失提速,隐藏过程中悬停不再卡半透明
sysfox 59f22f9
feat(toast): 详情弹窗标题与图标同色,新增复制按钮
sysfox 6e7204f
feat(toast): 叠置时旧弹窗淡化处理,最新全亮
sysfox 2a6c8c7
feat(toast): 详情弹窗复制按钮移至底部左侧,文本限高改 2 行,放大关闭按钮
sysfox 3118088
feat(toast): 渐隐旧弹窗加毛玻璃模糊,越旧越模糊越淡
sysfox 3529af8
feat(toast): 详情弹窗复制按钮移回右侧按钮组
sysfox 3594d85
fix(toast): 隐藏倒计时标志在取消路径下复位,避免 IsHiding 误判阻塞淡化/悬停
sysfox c1bd81c
refactor(toast): 移除模糊效果,简化淡化动画逻辑
sysfox b6686fc
feat(toast): 优化弹窗透明度管理,确保旧弹窗逐级淡化,提升视觉层次感
sysfox d2b244e
refactor(toast): 调整弹窗布局逻辑,优化弹窗间距和可见性管理
sysfox 2ab35e1
revert(toast): 撤销 MyMsg 改动,已迁移至 feat/toast-detail-upstream
sysfox 67174cf
feat(toast): 添加调试日志以跟踪弹窗显示和移除事件
sysfox 2bef282
refactor(toast): 移除调试弹窗相关代码,简化界面和逻辑
sysfox 91da4ac
Merge branch 'dev' into dev
sysfox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
When existing
MyMsgBox(...)calls create aMyMsgText,HintTypestays null, so the constructor never assignsToastTypeIcon.IconorLabTitle.Foreground. With this unconditional icon slot and the removedColorBrush2foreground, ordinary text dialogs now get an empty 18px title gap and the system text brush instead of the previous themed title/divider; keep the default foreground and collapse or omit the icon unless a hint type is supplied.Useful? React with 👍 / 👎.