Changeset 2090


Ignore:
Timestamp:
08/15/12 09:35:32 (12 years ago)
Author:
twagoo
Message:

Moved public/private switch on Browser to the left, made login box on Main float to the right

Location:
ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/Browse.mxml

    r1988 r2090  
    188188        <browser:BrowserColumns id="browserColumns"/>
    189189       
    190         <mx:Panel layout="absolute"
    191                           width="100%"
     190        <mx:Panel width="100%"
    192191                          height="100%"
    193192                          headerHeight="0"
     
    197196                          borderThicknessLeft="0"
    198197                          >
    199                        
    200                 <mx:ComboBox right="0"
    201                                          top="0"                               
    202                                          id="userSpaceCB"
    203                                          dataProvider="{spaces}"
    204                                          width="110"
    205                                          close="userSpaceCloseHandler(event);"/>
    206198               
    207199                <mx:VBox left="0"
    208200                                 top="5"
    209201                                 borderStyle="none"
    210                                  horizontalAlign="center"
    211202                                 height="100%"
    212203                                 width="100%">
    213204                       
     205                        <mx:Box paddingTop="5" paddingLeft="5">
     206                                <mx:ComboBox id="userSpaceCB"
     207                                                         dataProvider="{spaces}"
     208                                                         width="110"
     209                                                         close="userSpaceCloseHandler(event);"
     210                                                         />
     211                        </mx:Box>
     212                                               
    214213                        <mx:TabNavigator id="tabnav"
    215214                                                         width="100%"
  • ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/main.mxml

    r1793 r2090  
    9090                          y="0">                         
    9191
    92                 <mx:VBox height="100%"
    93                                  width="100%">
    94                         <mx:HBox borderStyle="none" id="topBar"
    95                                          width="100%">
    96                                 <mx:ToggleButtonBar id="toggleBar"
    97                                                                         dataProvider="{viewStack}"/>
    98                                 <mx:Spacer width="90%"/>
    99                                 <mx:Label text="User: {Credentials.instance.userName}"/>
    100                                 <common:LoginLabelButton id="login" includeInLayout="{!Credentials.instance.isLoggedIn()}" visible="{!Credentials.instance.isLoggedIn()}" />
    101                                 <common:UserSettingsLabelButton id="userSettings" includeInLayout="{Credentials.instance.isLoggedIn()}" visible="{Credentials.instance.isLoggedIn()}"/>
    102                         </mx:HBox>
    103                         <common:RegistryViewStack id="viewStack"
    104                                                                           borderStyle="none"
    105                                                                           height="100%"
    106                                                                           width="100%"/>
    107                 </mx:VBox>
     92                <common:RegistryViewStack id="viewStack"
     93                                                                  borderStyle="none"
     94                                                                  height="100%"
     95                                                                  width="100%"/>
     96               
     97                <mx:HBox borderStyle="none" id="topBar" right="0">
     98                        <mx:Label text="User: {Credentials.instance.userName}"/>
     99                        <common:LoginLabelButton id="login" includeInLayout="{!Credentials.instance.isLoggedIn()}" visible="{!Credentials.instance.isLoggedIn()}" />
     100                        <common:UserSettingsLabelButton id="userSettings" includeInLayout="{Credentials.instance.isLoggedIn()}" visible="{Credentials.instance.isLoggedIn()}"/>
     101                </mx:HBox>
    108102        </mx:Panel>
    109103               
Note: See TracChangeset for help on using the changeset viewer.