Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
2c811691
Commit
2c811691
authored
Aug 23, 2019
by
Bart Mathijssen
Committed by
Evan W. Patton
Aug 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add direct link to download in Barcode link dialog
parent
7aaa9d52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
appinventor/appengine/src/com/google/appinventor/client/explorer/commands/ShowBarcodeCommand.java
...inventor/client/explorer/commands/ShowBarcodeCommand.java
+2
-0
No files found.
appinventor/appengine/src/com/google/appinventor/client/explorer/commands/ShowBarcodeCommand.java
View file @
2c811691
...
@@ -78,6 +78,7 @@ public class ShowBarcodeCommand extends ChainableCommand {
...
@@ -78,6 +78,7 @@ public class ShowBarcodeCommand extends ChainableCommand {
Button
okButton
=
new
Button
(
MESSAGES
.
okButton
());
Button
okButton
=
new
Button
(
MESSAGES
.
okButton
());
okButton
.
addClickHandler
(
buttonHandler
);
okButton
.
addClickHandler
(
buttonHandler
);
HTML
barcodeQrcode
=
new
HTML
(
"<center>"
+
BlocklyPanel
.
getQRCode
(
appInstallUrl
)
+
"</center>"
);
HTML
barcodeQrcode
=
new
HTML
(
"<center>"
+
BlocklyPanel
.
getQRCode
(
appInstallUrl
)
+
"</center>"
);
HTML
linkQrcode
=
new
HTML
(
"<center><a href=\""
+
appInstallUrl
+
"\" target=\"_blank\">"
+
appInstallUrl
+
"</a></center>"
);
HorizontalPanel
buttonPanel
=
new
HorizontalPanel
();
HorizontalPanel
buttonPanel
=
new
HorizontalPanel
();
buttonPanel
.
setHorizontalAlignment
(
HorizontalPanel
.
ALIGN_CENTER
);
buttonPanel
.
setHorizontalAlignment
(
HorizontalPanel
.
ALIGN_CENTER
);
HTML
warningLabel
=
new
HTML
(
MESSAGES
.
barcodeWarning
(
HTML
warningLabel
=
new
HTML
(
MESSAGES
.
barcodeWarning
(
...
@@ -98,6 +99,7 @@ public class ShowBarcodeCommand extends ChainableCommand {
...
@@ -98,6 +99,7 @@ public class ShowBarcodeCommand extends ChainableCommand {
buttonPanel
.
setSize
(
"100%"
,
"24px"
);
buttonPanel
.
setSize
(
"100%"
,
"24px"
);
VerticalPanel
contentPanel
=
new
VerticalPanel
();
VerticalPanel
contentPanel
=
new
VerticalPanel
();
contentPanel
.
add
(
barcodeQrcode
);
contentPanel
.
add
(
barcodeQrcode
);
contentPanel
.
add
(
linkQrcode
);
contentPanel
.
add
(
buttonPanel
);
contentPanel
.
add
(
buttonPanel
);
contentPanel
.
add
(
warningPanel
);
contentPanel
.
add
(
warningPanel
);
// contentPanel.setSize("320px", "100%");
// contentPanel.setSize("320px", "100%");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment