Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix(flutter_desktop): hidden kanban group name overflow (#6763)

Richard Shiue3cd26cca358d
diff --git a/frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_hidden_groups.dart b/frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_hidden_groups.dart
index 9aa7f5f289..c2a90fb49e 100644
--- a/frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_hidden_groups.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_hidden_groups.dart
@@ -278,25 +278,33 @@ class HiddenGroupButtonContent extends StatelessWidget {
index: index,
),
const HSpace(4),
- FlowyText(
- group
- .generateGroupName(bloc.databaseController),
- overflow: TextOverflow.ellipsis,
- ),
- const HSpace(6),
Expanded(
- child: FlowyText(
- group.rows.length.toString(),
- overflow: TextOverflow.ellipsis,
- color: Theme.of(context).hintColor,
+ child: Row(
+ children: [
+ Flexible(
+ child: FlowyText(
+ group.generateGroupName(
+ bloc.databaseController,
+ ),
+ overflow: TextOverflow.ellipsis,
+ ),
+ ),
+ const HSpace(6),
+ FlowyText(
+ group.rows.length.toString(),
+ overflow: TextOverflow.ellipsis,
+ color: Theme.of(context).hintColor,
+ ),
+ ],
),
),
if (isHovering) ...[
+ const HSpace(6),
FlowyIconButton(
width: 20,
- icon: FlowySvg(
+ icon: const FlowySvg(
FlowySvgs.show_m,
- color: Theme.of(context).hintColor,
+ size: Size.square(16),
),
onPressed: () =>
context.read<BoardBloc>().add(