Skip to content

Fix: Ask question tool option row vertical alignment#11715

Closed
coolcom200 wants to merge 1 commit into
masterfrom
leon/fix-ask-question-option-alignment
Closed

Fix: Ask question tool option row vertical alignment#11715
coolcom200 wants to merge 1 commit into
masterfrom
leon/fix-ask-question-option-alignment

Conversation

@coolcom200
Copy link
Copy Markdown
Contributor

Description

Fix vertical alignment of the numbered badge relative to the answer text in ask-question tool option rows.

The number badge and answer text in each option row were misaligned — the badge started lower than the text (y-axis). This was caused by the row using CrossAxisAlignment::Start instead of CrossAxisAlignment::Center, so the badge was top-aligned rather than vertically centered with the answer text.

Change: In numbered_button.rs, switched the row's cross-axis alignment from Start to Center so the numbered badge is vertically centered with the option text.

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

Verified visually via ./script/run — the numbered badge now vertically centers with the answer text in each option row.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-BUG-FIX: Fixed vertical alignment of numbered badges in ask-question tool option rows

@cla-bot cla-bot Bot added the cla-signed label May 26, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 26, 2026

@coolcom200

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR changes the ask-question option row layout so the numbered badge is vertically centered with the answer text.

Concerns

  • This is a user-facing UI alignment change, but the PR description only states it was visually verified and does not attach a screenshot or screen recording. Please include visual evidence demonstrating the option row alignment end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz


let row = Flex::row()
.with_cross_axis_alignment(CrossAxisAlignment::Start)
.with_cross_axis_alignment(CrossAxisAlignment::Center)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] For this user-facing alignment change, please attach screenshots or a short screen recording demonstrating the option row alignment end to end.

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR changes the ask-question option row layout so the numbered badge is vertically centered with the answer text.

Concerns

  • This is a user-facing UI alignment change, but the PR description only states it was visually verified and does not attach a screenshot or screen recording. Please include visual evidence demonstrating the option row alignment end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz


let row = Flex::row()
.with_cross_axis_alignment(CrossAxisAlignment::Start)
.with_cross_axis_alignment(CrossAxisAlignment::Center)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] For this user-facing alignment change, please attach screenshots or a short screen recording demonstrating the option row alignment end to end.

@coolcom200
Copy link
Copy Markdown
Contributor Author

Superseded by #11717 on the requested oz-agent-prefixed branch with corrected metadata and validation notes.

@coolcom200 coolcom200 closed this May 26, 2026
@coolcom200 coolcom200 deleted the leon/fix-ask-question-option-alignment branch May 26, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant