You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/06/25 11:10:22 UTC

[royale-asjs] branch develop updated: jewel-table: remove an unwanted pixel padding surronding all cells

This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 630168b  jewel-table: remove an unwanted pixel padding surronding all cells
630168b is described below

commit 630168b7b92db01a0023cc7aef11078b96b63ba3
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Jun 25 13:10:10 2020 +0200

    jewel-table: remove an unwanted pixel padding surronding all cells
---
 .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Table.as    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Table.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Table.as
index 33228b0..e9ece8d 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Table.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Table.as
@@ -252,6 +252,9 @@ package org.apache.royale.jewel
         override protected function createElement():WrappedHTMLElement
         {
 			table = addElementToWrapper(this, 'table') as HTMLTableElement;
+			table.setAttribute('border', 0);
+			table.setAttribute('cellpadding', 0);
+			table.setAttribute('cellspacing', 0);
 			positioner = document.createElement('div') as WrappedHTMLElement;
 			return element;
         }