Skip to content

Conversation

@yixinshark
Copy link
Contributor

When the font size is large or the placeholder text is too long, the text would previously wrap or display abnormally. This change ensures that:

  1. The text is forced to be single line.
  2. The text is elided with '...' at the right if it exceeds the widget width.
  3. A tooltip with the full text is shown when the text is elided.

Log: 修复当字体较大时 placeholder 文本显示异常的问题,增加省略号和 ToolTip 提示。
Pms: BUG-322639

When the font size is large or the placeholder text is too long, the text
would previously wrap or display abnormally. This change ensures that:
1. The text is forced to be single line.
2. The text is elided with '...' at the right if it exceeds the widget width.
3. A tooltip with the full text is shown when the text is elided.

Log: 修复当字体较大时 placeholder 文本显示异常的问题,增加省略号和 ToolTip 提示。
Pms: BUG-322639
deepin-ci-robot added a commit to linuxdeepin/dde-session-shell-snipe that referenced this pull request Feb 9, 2026
Synchronize source files from linuxdeepin/dde-session-shell.

Source-pull-request: linuxdeepin/dde-session-shell#56
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: waterlovemelon, yixinshark

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yixinshark yixinshark merged commit 2c6d449 into linuxdeepin:master Feb 9, 2026
13 of 14 checks passed
yixinshark pushed a commit to linuxdeepin/dde-session-shell-snipe that referenced this pull request Feb 9, 2026
Synchronize source files from linuxdeepin/dde-session-shell.

Source-pull-request: linuxdeepin/dde-session-shell#56
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.

3 participants