fix(ui): HP/MP 바 숫자 영역 오버플로우 수정
- _buildBar Row의 HP/MP 숫자를 Flexible로 변경 - 좁은 화면에서도 오버플로우 방지
This commit is contained in:
@@ -291,12 +291,14 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
SizedBox(
|
||||
width: 60,
|
||||
// Flexible로 오버플로우 방지
|
||||
Flexible(
|
||||
flex: 0,
|
||||
child: Text(
|
||||
'$current/$max',
|
||||
style: const TextStyle(fontSize: 9),
|
||||
textAlign: TextAlign.right,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user