[2.2] Responsive Talent Card Layout #6

Closed
opened 2026-03-13 11:25:21 +01:00 by shahondin1624 · 0 comments

User Story

As a user, I want talent cards to display long names like "Aeronautics Mechanic" fully.

Acceptance Criteria

  • Remove hardcoded Modifier.width(150.dp) — use Modifier.weight(1f) or fill max width
  • TextOverflow.Ellipsis + maxLines = 1 as safety net
  • On Compact (1-col), talent cards span full width
  • Attribute value and talent value right-aligned with fixed min width

Notes

Affects lib/components/charactermodel/attributespage/Talent.kt. Depends on 1.4 for grid column count.

## User Story **As a** user, **I want** talent cards to display long names like "Aeronautics Mechanic" fully. ## Acceptance Criteria - [ ] Remove hardcoded `Modifier.width(150.dp)` — use `Modifier.weight(1f)` or fill max width - [ ] `TextOverflow.Ellipsis` + `maxLines = 1` as safety net - [ ] On Compact (1-col), talent cards span full width - [ ] Attribute value and talent value right-aligned with fixed min width ## Notes Affects `lib/components/charactermodel/attributespage/Talent.kt`. Depends on 1.4 for grid column count.
shahondin1624 added this to the Phase 2: Cards & Grid milestone 2026-03-13 11:25:21 +01:00
shahondin1624 added the epic:cards-reworkpriority:must-have labels 2026-03-13 11:28:03 +01:00
Sign in to join this conversation.