Compare commits
3 Commits
3750a5b462
...
fbfb09a545
| Author | SHA1 | Date | |
|---|---|---|---|
| fbfb09a545 | |||
| 3d81f26a6f | |||
| f21b36ca6e |
+1
-1
@@ -15,7 +15,7 @@ module.exports = function (RED) {
|
|||||||
var heightPx = config.buttonheight * sizes.sy - sizes.gy;
|
var heightPx = config.buttonheight * sizes.sy - sizes.gy;
|
||||||
|
|
||||||
var html = `<div style="width=100%; height=100%">
|
var html = `<div style="width=100%; height=100%">
|
||||||
<md-button id="{{$index}}" style="width:${widthPx}px; height:${heightPx}px; margin: ${sizes.gx}px ${sizes.gy}px; background-color: {{button.color}};" ng-click="buttonClick($event)" ng-repeat="button in msg.buttons">{{button.label}}</md-button>
|
<md-button id="{{$index}}" style="width:${widthPx}px; height:${heightPx}px; margin: ${sizes.gx}px ${sizes.gy}px; background-color: {{button.color}}; white-space: pre-wrap; word-break: break-word;" ng-click="buttonClick($event)" ng-repeat="button in msg.buttons">{{button.label}}</md-button>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
var done = ui.addWidget({
|
var done = ui.addWidget({
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
const { create } = require('domain');
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
module.exports = function (RED) {
|
module.exports = function (RED) {
|
||||||
|
|||||||
Reference in New Issue
Block a user