Skip to content

Commit 3a7ddc3

Browse files
committed
msglist: Tweak app-bar title to look better after recent text-size change
In a recent commit in this series, we decreased the app-bar title text size, to align with the new Figma. The spacing and alignment in MessageListAppBarTitle for stream and topic narrows looked a little off after doing that. This should make it look better. I'm leaving the comment saying it's "a bit ad hoc", though; this will remain true until we have a Figma design to follow.
1 parent 1252915 commit 3a7ddc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/widgets/message_list.dart

+2-3
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@ class MessageListAppBarTitle extends StatelessWidget {
131131
// TODO(design): The vertical alignment of the stream privacy icon is a bit ad hoc.
132132
// For screenshots of some experiments, see:
133133
// https://github.com/zulip/zulip-flutter/pull/219#discussion_r1281024746
134-
crossAxisAlignment: CrossAxisAlignment.baseline,
135-
textBaseline: localizedTextBaseline(context),
134+
crossAxisAlignment: CrossAxisAlignment.center,
136135
children: [
137136
Icon(size: 16, icon),
138-
const SizedBox(width: 8),
137+
const SizedBox(width: 4),
139138
Flexible(child: Text(text)),
140139
]);
141140
}

0 commit comments

Comments
 (0)