You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/03 06:58:43 UTC
[royale-asjs] branch develop updated: improve alternating color
drawing. Should fix #586
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 18b00e3 improve alternating color drawing. Should fix #586
18b00e3 is described below
commit 18b00e370d13f56cb80fc48b18ccf53db7d68ac3
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Dec 2 22:58:31 2019 -0800
improve alternating color drawing. Should fix #586
---
.../royale/mx/controls/beads/DataGridLinesBeadForICollectionView.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridLinesBeadForICollectionView.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridLinesBeadForICollectionView.as
index 85e1770..290a4f5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridLinesBeadForICollectionView.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridLinesBeadForICollectionView.as
@@ -101,7 +101,7 @@ package mx.controls.beads
if (contentView.height > n * rowHeight)
{
var bgColors:Array = (_strand as UIComponent).getStyle("alternatingItemColors");
- var yy:Number = n * rowHeight;
+ var yy:Number = n * (rowHeight + presentationModel.separatorThickness);
var bgFill0:SolidColor = new SolidColor();
bgFill0.color = bgColors[0];