Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Furnadjiev2016-10-31 09:10:18 +0000
committerIvan Furnadjiev2016-10-31 09:10:18 +0000
commit3462f333cac2c83a1151ad4b805c28ea18139c52 (patch)
treed0b773fc7afff7e232670763c389b16eb1184bce /bundles
parent7ef5b62801cf9c9fc1a4073cd31bba5809eae797 (diff)
downloadorg.eclipse.rap-3462f333cac2c83a1151ad4b805c28ea18139c52.tar.gz
org.eclipse.rap-3462f333cac2c83a1151ad4b805c28ea18139c52.tar.xz
org.eclipse.rap-3462f333cac2c83a1151ad4b805c28ea18139c52.zip
Respect Grid/Tree/Table custom variant in grid line appearance
506212: Enable custom variant support for Table-GridLine https://bugs.eclipse.org/bugs/show_bug.cgi?id=506212 Change-Id: I4405c4aa98aa6151ebccef7998d674731db227f2
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.rap.rwt/js/rwt/widgets/base/GridRowContainer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/base/GridRowContainer.js b/bundles/org.eclipse.rap.rwt/js/rwt/widgets/base/GridRowContainer.js
index 7e83482c5d..55938e7bed 100644
--- a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/base/GridRowContainer.js
+++ b/bundles/org.eclipse.rap.rwt/js/rwt/widgets/base/GridRowContainer.js
@@ -199,6 +199,9 @@ rwt.qx.Class.define( "rwt.widgets.base.GridRowContainer", {
}
var states = { rowTempalte : this._config.rowTemplate != null };
states[ line ] = true;
+ if( this._config.variant != null ) {
+ states[ this._config.variant ] = true;
+ }
var tv = new rwt.theme.ThemeValues( states );
var gridColor = tv.getCssColor( rwt.util.Strings.toFirstUp( this._baseAppearance ) + "-GridLine", "color" );
gridColor = gridColor == "undefined" ? "transparent" : gridColor;

Back to the top