Skip to content

Commit

Permalink
Merge pull request #1112 from freedomofpress/fix-placeholder-offline-…
Browse files Browse the repository at this point in the history
…mode

fix placeholder label->widget
  • Loading branch information
kushaldas authored Jun 16, 2020
2 parents fafec97 + 2b90626 commit aa89e70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3066,7 +3066,7 @@ def __init__(self, source_name):
# Signed in
compose_a_reply_to = QLabel(_('Compose a reply to '))
compose_a_reply_to.setObjectName('ReplyTextEditPlaceholder_text')
source_name = SecureQLabel(source_name)
source_name = SecureQLabel(source_name, wordwrap=False)
source_name.setObjectName('ReplyTextEditPlaceholder_bold_blue')
self.signed_in = QWidget()
signed_in_layout = QHBoxLayout()
Expand All @@ -3081,7 +3081,7 @@ def __init__(self, source_name):
awaiting_key.setObjectName('ReplyTextEditPlaceholder_bold_blue')
from_server = QLabel(_(' from server to enable replies'))
from_server.setObjectName('ReplyTextEditPlaceholder_text')
self.signed_in_no_key = QLabel()
self.signed_in_no_key = QWidget()
signed_in_no_key_layout = QHBoxLayout()
signed_in_no_key_layout.setSpacing(0)
self.signed_in_no_key.setLayout(signed_in_no_key_layout)
Expand All @@ -3094,7 +3094,7 @@ def __init__(self, source_name):
sign_in.setObjectName('ReplyTextEditPlaceholder_bold_blue')
to_compose_reply = QLabel(' to compose or send a reply')
to_compose_reply.setObjectName('ReplyTextEditPlaceholder_text')
self.signed_out = QLabel()
self.signed_out = QWidget()
signed_out_layout = QHBoxLayout()
signed_out_layout.setSpacing(0)
self.signed_out.setLayout(signed_out_layout)
Expand Down

0 comments on commit aa89e70

Please sign in to comment.