3 Replies Latest reply on Aug 13, 2010 8:03 AM by Flex harUI

    Flex 3  variableRowHeight="true" working randomly

    nikos101 Level 2

      I'm having trouble in that I often find my text being truncated even though I'm trying such things such as

      variableRowHeight="true"

      Funny thing is, its kind of random wether the row expands or not.

       

      <mx:List height="100%" width="100%" id="tasksList" wordWrap="true" visible="{branches.selectedIndex != -1}" variableRowHeight="true">
                                 
                                  <mx:dataChange>
                                      <![CDATA[
                                          this.invalidateSize();
                                          this.validateProperties();
                                          this.validateNow();
                                      ]]>
                                  </mx:dataChange>
                                 
                                  <mx:itemRenderer>
                                      <mx:Component>


                                          <mx:HBox>
                                     
                                              <mx:Script>
                                                  <![CDATA[
                                                      import customevents.RequestConditionsForTaskEvent;
                                                  ]]>
                                              </mx:Script>



                                              <mx:Text text="{data.task}" fontSize="9" width="100%" >
                                             
                                              </mx:Text>


                                              <mx:Button label="Conditions" styleName="smallButtonOrange" id="undoReviewBtn3" toolTip="This allows you to choose what conditions are applied for the task.">
                                                  <mx:click>
                                                      <![CDATA[
                                                      dispatchEvent(new RequestConditionsForTaskEvent(data.taskID));
                                                      ]]>
                                                  </mx:click>
                                              </mx:Button>
                                          </mx:HBox>
                                      </mx:Component>
                                  </mx:itemRenderer>
                              </mx:List>

       

      Message was edited by: nikos101