aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style.reel/style.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/css-panel/style.reel/style.js')
-rw-r--r--js/panels/css-panel/style.reel/style.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/panels/css-panel/style.reel/style.js b/js/panels/css-panel/style.reel/style.js
index a8939bc6..b079bc73 100644
--- a/js/panels/css-panel/style.reel/style.js
+++ b/js/panels/css-panel/style.reel/style.js
@@ -272,6 +272,8 @@ exports.Style = Montage.create(TreeNode, {
272 templateDidLoad : { 272 templateDidLoad : {
273 value: function() { 273 value: function() {
274 this.delegate = this.treeView.contentController.delegate; 274 this.delegate = this.treeView.contentController.delegate;
275
276 this.propertyField.hints = this.propertyNames;
275 } 277 }
276 }, 278 },
277 279
@@ -312,6 +314,13 @@ exports.Style = Montage.create(TreeNode, {
312 } 314 }
313 }, 315 },
314 316
317 setToolTips : {
318 value: function() {
319 this.propertyField.element.title = this.propertyField.value;
320 this.valueField.element.title = this.valueField.value;
321 }
322 },
323
315 willDraw : { 324 willDraw : {
316 value: function() { 325 value: function() {
317 if(this.invalid) { 326 if(this.invalid) {
@@ -319,6 +328,8 @@ exports.Style = Montage.create(TreeNode, {
319 } else { 328 } else {
320 this._element.removeAttribute('title'); 329 this._element.removeAttribute('title');
321 } 330 }
331
332 this.setToolTips();
322 } 333 }
323 }, 334 },
324 335