Skip to content

Commit 4299b85

Browse files
authored
Merge pull request adafruit#1014 from RichardA1/patch-1
Fixing string text spacing issue.
2 parents 602a7a9 + b0dcd67 commit 4299b85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PyPortal_User_Interface/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ def switch_view(what_view):
315315
# Update out Labels with display text.
316316
text_box(feed1_label, TABS_Y,
317317
"The text on this screen is wrapped so that all of it fits nicely into a \
318-
text box that is ### x ###.", 30)
318+
text box that is ### x ###.", 30)
319319
text_box(feed1_label, TABS_Y,
320320
'The text on this screen is wrapped so that all of it fits nicely into a \
321-
text box that is {} x {}.'
321+
text box that is {} x {}.'
322322
.format(feed1_label.bounding_box[2], feed1_label.bounding_box[3]*2), 30)
323323

324324
text_box(feed2_label, TABS_Y, 'Tap on the Icon button to meet a new friend.', 18)
@@ -417,7 +417,7 @@ def switch_view(what_view):
417417
b.selected = False
418418
text_box(feed2_label, TABS_Y,
419419
"Every time you tap the Icon button the icon image will \
420-
change. Say hi to {}!".format(icon_name), 18)
420+
change. Say hi to {}!".format(icon_name), 18)
421421
set_image(icon_group, "/images/"+icon_name+".bmp")
422422
if i == 6 and view_live == 3: # only if view3 is visable
423423
b.selected = True

0 commit comments

Comments
 (0)