diff --git a/lib/partials/post.dart b/lib/partials/post.dart index c25554b..ef285ed 100644 --- a/lib/partials/post.dart +++ b/lib/partials/post.dart @@ -309,40 +309,54 @@ class _PostActionBarState extends State { @override Widget build(BuildContext context) { return Wrap( - spacing: 8, + spacing: 24, + runSpacing: 24, + runAlignment: WrapAlignment.center, alignment: WrapAlignment.spaceAround, crossAxisAlignment: WrapCrossAlignment.center, children: [ - IconButton( - onPressed: () { - showDialog( - context: context, - builder: ((context) => MakePost( - inReplyTo: widget.model, - ))); - }, - icon: const Icon(Icons.reply), - tooltip: "reply".i18n(), - ), - InteractionButton( - model: widget.model, - type: interactions.InteractionType.reblog, - ), - InteractionButton( - model: widget.model, - type: interactions.InteractionType.favorite, - ), - IconButton( - tooltip: "show-in-full".i18n(), + SizedBox( + width: 64, + child: IconButton( onPressed: () { showDialog( - context: context, - builder: (context) => FullPostView( - originPostModel: widget.model, - ), - ); + context: context, + builder: ((context) => MakePost( + inReplyTo: widget.model, + ))); }, - icon: const Icon(Icons.open_in_full)), + icon: const Icon(Icons.reply), + tooltip: "reply".i18n(), + ), + ), + SizedBox( + width: 64, + child: InteractionButton( + model: widget.model, + type: interactions.InteractionType.reblog, + ), + ), + SizedBox( + width: 64, + child: InteractionButton( + model: widget.model, + type: interactions.InteractionType.favorite, + ), + ), + SizedBox( + width: 64, + child: IconButton( + tooltip: "show-in-full".i18n(), + onPressed: () { + showDialog( + context: context, + builder: (context) => FullPostView( + originPostModel: widget.model, + ), + ); + }, + icon: const Icon(Icons.open_in_full)), + ), IconButton( tooltip: "post-options".i18n(), onPressed: () {