Skip to content

Conversation

kaydikat
Copy link

Fix Disappearing Collapse Arrow and Align Rotation with UI Standards

Description

This PR fixes an issue where the collapse arrows in the Camera, Vehicle Info, and Launch Postition sections in Mission Start would disappear when expanding sections. Additionally, it updates the arrow behavior to follow standard UI practices, where:

  • Collapsed (default) → Arrow points right (-90°).
  • Expanded → Arrow points down (0°).

This is consistent with UI/UX conventions in applications like VS Code, where collapse/expand arrows follow the right → down transition.

Before the UI change

Screenshot 2025-02-12 142143

After the UI change

Screenshot 2025-02-12 135051


Test Steps

To verify this fix:

  1. Open QGroundControl.
  2. Click Q in top left corner.
  3. Click Plan Flight.
  4. Open Mission Start on right side of screen.
  5. Click the collapse arrow to the Camera section → Arrow should smoothly rotate right → down.
  6. Click again to collapse → Arrow should rotate down → right and remain visible.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution under the terms of your choice.

@kaydikat kaydikat closed this Feb 12, 2025
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.

1 participant