M cmd/scatter/ui.go => cmd/scatter/ui.go +2 -2
@@ 514,7 514,7 @@ func (p *contactsPage) Layout(gtx *layout.Context) {
layout.Rigid(func() {
p.topbar.Layout(gtx, p.env.insets, func() {
e := theme.Editor("Email address")
- e.Font.Size = unit.Sp(20)
+ e.TextSize = unit.Sp(20)
e.Color = rgb(0xffffff)
e.HintColor = rgb(0xbbbbbb)
e.Layout(gtx, p.searchEdit)
@@ 1076,7 1076,7 @@ func (p *threadPage) layoutMessageBox(gtx *layout.Context) {
layout.W.Layout(gtx, func() {
gtx.Constraints.Width.Min = gtx.Constraints.Width.Max
ed := theme.Editor("Send a message")
- ed.Font.Size = unit.Sp(14)
+ ed.TextSize = unit.Sp(14)
ed.Layout(gtx, p.msgEdit)
})
})
M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module scatter.im
go 1.13
require (
- gioui.org v0.0.0-20200202161927-1cf8fee73ff1
+ gioui.org v0.0.0-20200203225345-b8b8003a7a98
github.com/eliasnaur/libsignal-protocol-go v0.0.0-20190626062856-3295f72b181e
github.com/emersion/go-imap v1.0.0-rc.1
github.com/emersion/go-imap-idle v0.0.0-20190519112320-2704abd7050e
M go.sum => go.sum +2 -2
@@ 1,6 1,6 @@
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-gioui.org v0.0.0-20200202161927-1cf8fee73ff1 h1:IjoHKA5smXf09yeUrYpeqUYLCPNI4NF8VENzqTSq0zk=
-gioui.org v0.0.0-20200202161927-1cf8fee73ff1/go.mod h1:AHI9rFr6AEEHCb8EPVtb/p5M+NMJRKH58IOp8O3Je04=
+gioui.org v0.0.0-20200203225345-b8b8003a7a98 h1:oQS5xS67GXndgOkPReXvPpNTR0SnDqp1+ZDf2cd+evg=
+gioui.org v0.0.0-20200203225345-b8b8003a7a98/go.mod h1:AHI9rFr6AEEHCb8EPVtb/p5M+NMJRKH58IOp8O3Je04=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b h1:cAULFohNVfNzco0flF4okSPg3s7/tCj+hMIldtYZo4c=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b/go.mod h1:zZ3+l0EkpT2ZPnoamPBG50PBUtQrXwwyJ6elQZMmqgk=