forked from cwtch.im/ui
idk
This commit is contained in:
parent
65ff90c631
commit
f86be56678
|
@ -32,7 +32,7 @@ func IncomingListener(callback func(*gobjects.Message)) {
|
|||
Handle: e.Data[event.GroupID],
|
||||
From: e.Data[event.RemotePeer],
|
||||
Message: e.Data[event.Data],
|
||||
Image: cwutil.RandomGroupImage(e.Data[event.GroupID]),
|
||||
Image: cwutil.RandomProfileImage(e.Data[event.RemotePeer]),
|
||||
Timestamp: ts,
|
||||
})
|
||||
}
|
||||
|
|
4
main.go
4
main.go
|
@ -92,8 +92,8 @@ func initializeQtView() *quick.QQuickView {
|
|||
quickcontrols2.QQuickStyle_SetStyle("Universe")
|
||||
view := quick.NewQQuickView(nil)
|
||||
view.SetResizeMode(quick.QQuickView__SizeRootObjectToView)
|
||||
view.SetMinimumHeight(280)
|
||||
view.SetMinimumWidth(300)
|
||||
view.SetMinimumHeight(400)
|
||||
view.SetMinimumWidth(600)
|
||||
view.SetTitle("cwtch")
|
||||
|
||||
return view
|
||||
|
|
|
@ -12,8 +12,8 @@ import "widgets"
|
|||
|
||||
Item {
|
||||
id: windowItem
|
||||
width: 525
|
||||
height: 500
|
||||
width: 1200
|
||||
height: 800
|
||||
|
||||
readonly property real ratio: height / width
|
||||
|
||||
|
|
Loading…
Reference in New Issue