royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] branch develop updated: Removed DateChooser class selector
Date Mon, 04 Jun 2018 10:07:34 GMT
This is an automated email from the ASF dual-hosted git repository.

harbs 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 17cd02c  Removed DateChooser class selector
17cd02c is described below

commit 17cd02c74cf77da5bd629d4de43ac1532f038954
Author: Harbs <harbs@in-tools.com>
AuthorDate: Mon Jun 4 13:07:27 2018 +0300

    Removed DateChooser class selector
---
 frameworks/projects/Basic/src/main/resources/defaults.css            | 5 -----
 .../src/main/royale/org/apache/royale/html/beads/DateChooserView.as  | 3 ++-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css b/frameworks/projects/Basic/src/main/resources/defaults.css
index 5ba8f28..f815547 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -227,11 +227,6 @@ DateChooserHeader {
 	background-color: #FFFFFF;
 }
 
-.opt_org-apache-royale-html-DateChooser_MonthButtons {				
-	IBeadLayout: ClassReference("org.apache.royale.html.beads.layouts.HorizontalFlexLayout");

-	height: 20px;
-}
-
 DataItemRenderer
 {
 	IBeadController: ClassReference("org.apache.royale.html.beads.controllers.ItemRendererMouseController");
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
index f254681..292d7ea 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
@@ -34,6 +34,7 @@ package org.apache.royale.html.beads
 	import org.apache.royale.html.TextButton;
 	import org.apache.royale.core.beads.GroupView;
 	import org.apache.royale.html.beads.layouts.HorizontalLayout;
+	import org.apache.royale.html.beads.layouts.HorizontalFlexLayout;
 	import org.apache.royale.html.beads.layouts.TileLayout;
 	import org.apache.royale.html.beads.models.DateChooserModel;
 	import org.apache.royale.html.supportClasses.DateHeaderButton;
@@ -134,9 +135,9 @@ package org.apache.royale.html.beads
 			// HEADER BUTTONS
 			
 			monthButtonsContainer = new Group();
+			monthButtonsContainer.addBead(new HorizontalFlexLayout());
 			monthButtonsContainer.height = controlHeight;
 			monthButtonsContainer.id = "dateChooserMonthButtons";
-			monthButtonsContainer.className = "opt_org-apache-royale-html-DateChooser_MonthButtons";
 			monthButtonsContainer.style = new SimpleCSSStylesWithFlex();
 			monthButtonsContainer.style.flexGrow = 0;
 			COMPILE::JS {

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.

Mime
View raw message