Skip to content

Commit

Permalink
fix lineColor and test property setting
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed Jun 13, 2019
1 parent 2e8a2b6 commit 2c07f22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"email": "[email protected]"
}
],
"version": "0.0.4"
"version": "0.0.5"
},
"provides": {
"namespace": "headerpuppet",
Expand Down
2 changes: 1 addition & 1 deletion source/class/headerpuppet/HeaderPuppet.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ qx.Class.define("headerpuppet.HeaderPuppet", {
break;
case "lineColor":
this.set({
background: value
backgroundColor: value
});
break;
case "cellPadding":
Expand Down
6 changes: 5 additions & 1 deletion source/class/headerpuppet/demo/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ qx.Class.define("headerpuppet.demo.Application",
{ text: "Another Test shifted by one column", column: 2, row:1, colSpan: 2, alignX: 'right', textAlign: 'right', rich:true}
];
win.add(new headerpuppet.HeaderPuppet(table,headers).set({
cellBackgroundColor: '#ddd'
cellBackgroundColor: '#ddd',
lineColor: '#f00',
lineWidth: 3,
cellFont: 'default',
cellPadding: 5
}));
win.add(table,{flex: 1});
win.open();
Expand Down

0 comments on commit 2c07f22

Please sign in to comment.