mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-18 13:08:54 +02:00
Update PyBLØCK Widget.scriptable
This commit is contained in:
parent
c7fc44a3b5
commit
d6996ddc9a
1 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ async function createWidget()
|
|||
|
||||
// Add widget heading
|
||||
let sns = new Request('https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/resources/images/Logo.PNG');
|
||||
let pyp = await sns.loadImage();
|
||||
let pyp = await sns.loadImage();
|
||||
|
||||
let tt = listwidget.addImage(pyp).centerAlignImage()
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ let pyp = await sns.loadImage();
|
|||
let wdgDesc = listwidget.addText("🟥 🟨 🟩");
|
||||
|
||||
// Add widget heading
|
||||
let mem = listwidget.addText(fast + " " + halfHour + " " + hour);
|
||||
let mem = listwidget.addText(fast + " " + halfHour + " " + hour);
|
||||
|
||||
wdgDesc.centerAlignText();
|
||||
mem.centerAlignText();
|
||||
|
|
@ -123,4 +123,4 @@ let pyp = await sns.loadImage();
|
|||
|
||||
// Return the created widget
|
||||
return listwidget;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue