Merge branch 'ebf2019011411' of cwtch.im/ui into master

This commit is contained in:
Sarah Jamie Lewis 2019-01-14 19:50:22 +00:00 committed by Gogs
commit 61bad4775a
9 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ deploy
moc*
rcc*
*.qmlc
*.jsc

View File

@ -161,6 +161,12 @@ func (this *GrandCentralDispatcher) loadMessagesPane(handle string) {
func (this *GrandCentralDispatcher) requestGroupSettings() {
log.Debugf("requestGroupSettings()")
group := the.Peer.GetGroup(this.CurrentOpenConversation())
if group == nil {
log.Errorf("requested group settings for a p2p contact")
return
}
nick, _ := group.GetAttribute("nick")
invite, _ := the.Peer.ExportGroup(this.CurrentOpenConversation())
this.SupplyGroupSettings(nick, group.GroupServer, invite)

Binary file not shown.

View File

@ -25,6 +25,9 @@ ColumnLayout { // settingsPane
id: zoomSlider
from: 0.5
to: 2.4
onValueChanged: {
gcd.themeScale = zoomSlider.value
}
}
ScalingLabel {

View File

@ -52,6 +52,7 @@ RowLayout { // LOTS OF NESTING TO DEAL WITH QT WEIRDNESS, SORRY
textFormat: Text.PlainText
//fontSizeMode: Text.HorizontalFit
elide: Text.ElideRight
color: "#000000"
}
Rectangle { // UNREAD MESSAGES?

View File

@ -138,9 +138,9 @@ ColumnLayout {
}
}
Label { // ONION ADDRESS
ScalingLabel { // ONION ADDRESS
id: lblOnion
font.pixelSize: 6
//font.pixelSize: 6
Layout.fillWidth: true
padding: 3
horizontalAlignment: Text.AlignHCenter

Binary file not shown.

View File

@ -9,6 +9,7 @@ import QtQuick.Window 2.11
Label {
font.pixelSize: gcd.themeScale * size
wrapMode: Text.WordWrap
color: "#000000"
property real size: 12
}

Binary file not shown.