| @@ -741,7 +741,7 @@ |
| 741 | ;; compose bar, and should: each appears because the reader just | 741 | ;; compose bar, and should: each appears because the reader just |
| 742 | ;; asked for something — unlike the jump button, which appears | 742 | ;; asked for something — unlike the jump button, which appears |
| 743 | ;; on its own and must not shift what is under it. | 743 | ;; on its own and must not shift what is under it. |
| 744 | - :reserve (+ 116 | 744 | + :reserve (+ 124 |
| 745 | (if @s/replying-to 34 0) | 745 | (if @s/replying-to 34 0) |
| 746 | (if @s/attachment 76 0)) | 746 | (if @s/attachment 76 0)) |
| 747 | :stick-to-bottom true | 747 | :stick-to-bottom true |
| @@ -779,7 +779,14 @@ |
| 779 | "Uploading…" | 779 | "Uploading…" |
| 780 | "Picture attached")}] | 780 | "Picture attached")}] |
| 781 | [:button {:label "✕" :on-click s/clear-attachment!}]])] | 781 | [:button {:label "✕" :on-click s/clear-attachment!}]])] |
| 782 | - [:hbox {:spacing 8} | 782 | + ;; The line and its buttons on the middle of the width rather than |
| | 783 | + ;; against its left edge: the entry asks for a fixed width, and on a |
| | 784 | + ;; window wider than that a left-aligned row leaves it stranded in the |
| | 785 | + ;; corner of an otherwise empty bar. On a phone the row is as wide as the |
| | 786 | + ;; window and centring costs nothing. |
| | 787 | + ;; A little air under the row, so the line being typed does not sit flat |
| | 788 | + ;; on the bottom edge of the window. |
| | 789 | + [:hbox {:spacing 8 :align :center :margin-bottom 8} |
| 783 | ;; narrow enough that Send keeps its place on a phone-width row | 790 | ;; narrow enough that Send keeps its place on a phone-width row |
| 784 | ;; A picture is pasted where everything else is typed: Ctrl+V. The field | 791 | ;; A picture is pasted where everything else is typed: Ctrl+V. The field |
| 785 | ;; answers a paste of text with the text, and one of a picture reaches | 792 | ;; answers a paste of text with the text, and one of a picture reaches |