chore: fix audio time going to two lines when font size is large
This commit is contained in:
parent
ecf6113f95
commit
19d3b3fd7c
3 changed files with 26 additions and 8 deletions
|
|
@ -554,16 +554,25 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
|
|||
),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
SizedBox(
|
||||
width: 36,
|
||||
child: Text(
|
||||
statusText,
|
||||
style: TextStyle(
|
||||
color: widget.color,
|
||||
fontSize: 12,
|
||||
),
|
||||
// #Pangea
|
||||
// SizedBox(
|
||||
// width: 36,
|
||||
// child: Text(
|
||||
// statusText,
|
||||
// style: TextStyle(
|
||||
// color: widget.color,
|
||||
// fontSize: 12,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
Text(
|
||||
statusText,
|
||||
style: TextStyle(
|
||||
color: widget.color,
|
||||
fontSize: 12,
|
||||
),
|
||||
),
|
||||
// Pangea#
|
||||
const SizedBox(width: 8),
|
||||
AnimatedCrossFade(
|
||||
firstChild: Padding(
|
||||
|
|
|
|||
|
|
@ -68,6 +68,9 @@ class ReplyContent extends StatelessWidget {
|
|||
future: displayEvent.fetchSenderUser(),
|
||||
builder: (context, snapshot) {
|
||||
return Text(
|
||||
// #Pangea
|
||||
textScaler: TextScaler.noScaling,
|
||||
// Pangea#
|
||||
'${snapshot.data?.calcDisplayname() ?? displayEvent.senderFromMemoryOrFallback.calcDisplayname()}:',
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
|
|
@ -85,6 +88,9 @@ class ReplyContent extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
Text(
|
||||
// #Pangea
|
||||
textScaler: TextScaler.noScaling,
|
||||
// Pangea#
|
||||
displayEvent.calcLocalizedBodyFallback(
|
||||
MatrixLocals(L10n.of(context)),
|
||||
withSenderNamePrefix: false,
|
||||
|
|
|
|||
|
|
@ -69,6 +69,9 @@ class _EditContent extends StatelessWidget {
|
|||
),
|
||||
Container(width: 15.0),
|
||||
Text(
|
||||
// #Pangea
|
||||
textScaler: TextScaler.noScaling,
|
||||
// Pangea#
|
||||
event.calcLocalizedBodyFallback(
|
||||
MatrixLocals(L10n.of(context)),
|
||||
withSenderNamePrefix: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue