Skip to content

style(widget): refine RestoreTipWidget appearance - #343

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
add-uos:style-widget-restoreTip
Aug 27, 2026
Merged

style(widget): refine RestoreTipWidget appearance#343
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
add-uos:style-widget-restoreTip

Conversation

@add-uos

@add-uos add-uos commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Adjust close button size (28->16), corner radius (8->12), minimum width (300->336) and add a subtle border for the restore tip widget.

调整恢复提示控件的关闭按钮尺寸、圆角、最小宽度并增加细边框。

Log: 优化恢复提示控件外观
PMS: BUG-390571
Influence: 仅影响恢复提示控件的视觉效果,无功能变更。

Summary by Sourcery

Enhancements:

  • Refine the restore tip widget’s visual styling with a smaller close button, wider layout, rounder corners, and a subtle border.

Adjust close button size (28->16), corner radius (8->12), minimum
width (300->336) and add a subtle border for the restore tip widget.

调整恢复提示控件的关闭按钮尺寸、圆角、最小宽度并增加细边框。

Log: 优化恢复提示控件外观
PMS: BUG-390571
Influence: 仅影响恢复提示控件的视觉效果,无功能变更。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @add-uos, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates RestoreTipWidget sizing and painting only: the close button is smaller, the widget is wider with more rounded corners, and its background now has a subtle border; no functional behavior changes are introduced.

File-Level Changes

Change Details Files
Refine the widget’s dimensions and shape styling to match the updated visual specification.
  • Reduce the close button’s fixed size while preserving its 16px icon.
  • Increase the widget minimum width and corner radius.
  • Add a subtle semi-transparent black border drawn inside the rounded background.
reader/widgets/RestoreTipWidget.cpp

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: add-uos, lzwind

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

@add-uos

add-uos commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot

deepin-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This pr force merged! (status: unstable)

@deepin-bot
deepin-bot Bot merged commit 5ba436b into linuxdeepin:master Aug 27, 2026
5 of 8 checks passed
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