Skip to content

Commit

Permalink
center topic text
Browse files Browse the repository at this point in the history
  • Loading branch information
retrotails committed Jan 27, 2022
1 parent e3094f4 commit 89f363e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/room-view.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type RoomView struct {

func NewRoomView(parent *MainView, room *rooms.Room) *RoomView {
view := &RoomView{
topic: mauview.NewTextView(),
topic: mauview.NewTextView().SetTextAlign(mauview.AlignCenter),
status: mauview.NewTextField(),
userList: NewMemberList(),
ulBorder: widget.NewBorder(),
Expand Down

0 comments on commit 89f363e

Please sign in to comment.