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 9e6e361  more tweaks to asdoc
9e6e361 is described below

commit 9e6e361578d3d119e702b4d24e0914adb7ffa1c5
Author: Alex Harui <aha...@apache.org>
AuthorDate: Fri Feb 2 23:47:25 2018 -0800

    more tweaks to asdoc
---
 .../ASDoc/src/main/royale/ASDocMainView.mxml       | 26 +++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/examples/royale/ASDoc/src/main/royale/ASDocMainView.mxml 
b/examples/royale/ASDoc/src/main/royale/ASDocMainView.mxml
index 1f82076..eb4885e 100644
--- a/examples/royale/ASDoc/src/main/royale/ASDocMainView.mxml
+++ b/examples/royale/ASDoc/src/main/royale/ASDocMainView.mxml
@@ -101,6 +101,7 @@ limitations under the License.
     </fx:Script>
        <fx:Style>
            @namespace "*";
+           @namespace rs "library://ns.apache.org/royale/site";
            
         .sectionLabel{
             font-size: 16px;
@@ -112,16 +113,22 @@ limitations under the License.
         
         .titleGroup {
                margin-top: 30px;
+               margin-left: 5px;
+        }
+        
+        .detailsPane {
+            padding-left: 20px;
+            padding-right: 10px;
         }
         
         .paneTitle {
                font-size: 24px;
             font-weight: bold;
-            padding-left: 20px;
             background-color: rgb( 253, 171, 125);
         }
         
         .paneList {
+            margin-top: 50px;
                margin-left: 20px;
                margin-right: 20px;
                border-style: solid;
@@ -131,8 +138,17 @@ limitations under the License.
             text-decoration: none;
         }
         
+        HashAnchorStringItemRenderer {
+            padding-left: 5px;
+        }
+        
         .detailCaption {
                font-weight: bold;
+               width: 150px;
+        }
+        
+        .title {
+                       font-size: 20px;
         }
         
        </fx:Style>
@@ -156,7 +172,7 @@ limitations under the License.
         <js:beads>
             <js:OneFlexibleChildHorizontalLayoutForOverflow 
flexibleChild="title" />
         </js:beads>
-        <js:Label text="Apache Royale ActionScript Library Reference" 
id="title" height="30" style="fontSize:20"/>
+        <js:Label text="Apache Royale ActionScript Library Reference" 
id="title" height="30" className="title"/>
         <js:CheckBox id="topLevel" text="Top-Level" click="showTopLevel()" />
         <js:CheckBox id="viewBeads" text="View Bead" click="showViewBeads()" />
     </js:Group>
@@ -181,19 +197,19 @@ limitations under the License.
                 <js:VerticalLayout />
                 <js:ScrollingViewport />
             </js:beads>
+               <js:Label className="paneTitle" id="baseName" width="100%" 
style="fontSize:20"
+                       text="{currentState == 'packages' ? 'All Packages' : 
ASDocModel(applicationModel).currentClass}" />
             <js:Group id="packageListPane" width="100%" includeIn="packages">
                    <js:beads>
                        <js:VerticalLayout />
                    </js:beads>
-                   <js:Label className="paneTitle" text="All Packages" 
width="100%"/>
                    <js:List className="paneList" id="packagePaneList" 
dataProvider="{ASDocModel(applicationModel).packageList}" 
                        itemRenderer="AltBGRenderer"/>
             </js:Group>
-            <js:Group id="detailsPane" width="100%" includeIn="classDetail">
+            <js:Group id="detailsPane" className="detailsPane" width="100%" 
includeIn="classDetail">
                    <js:beads>
                        <js:VerticalLayout />
                    </js:beads>
-                   <js:Label className="paneTitle" id="baseName" 
text="{ASDocModel(applicationModel).currentClass}" width="100%" 
style="fontSize:20"/>
                    <js:Group>
                            <js:beads>
                                <js:HorizontalLayout />

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

Reply via email to