bug in flex 4, with truncating the link button and labels


hey guys.. application has popupanchor, , in popup anchor have multiple linkbuttons... , reason no matter try, truncates link buttons, labels on accordions.

 

i know button not in group small width... ive tried wrapping link button in group width of 500, , still link button gets truncated...

 

any ideas on how fix problem??

 

if following code have... labels , linkbuttons gets truncated after second time popup popupanchor.

 

 

<s:popupanchor id="detailspopup" popupposition="topleft" stylename="popupbox" depth="20">
     <s:vgroup id="detailsgroup" contentbackgroundcolor="#ffffff" height="518" width="791">
          <s:group width="100%" height="100%">
               <s:rect width="100%" height="100%">
                    <s:fill>
                         <s:solidcolor color="#ffffff"/>
                    </s:fill>
               </s:rect>
               <s:vgroup>
                    <s:bordercontainer backgroundcolor="#0184c7" width="100%" height="88" bordervisible="false">
                         <mx:linkbutton label="[ x ]" skin="{null}" x="750" y="5" fontsize="8" color="#ffffff" rollovercolor="#333333" click="hidedetails.play(); resetvars();" />
                         <storytextbox:advancedtextinput id="title" defaulttext="insert title here" fontsize="18" color="#ffffff" focuscolor="#ffffff" width="575"
                                                                 height="30" verticalcenter="0" left="12" contentbackgroundcolor="#0184c7" bordervisible="false"/>
                         <storytextbox:advancedtextinput id="subheading" defaulttext="insert subtitle here" fontsize="10" height="20" y="63" left="12" focuscolor="#ffffff" width="315"
                                                                 color="#ffffff" contentbackgroundcolor="#0184c7" bordervisible="false"/>
                         <s:vgroup paddingleft="600" paddingtop="25">
                              <s:hgroup>
                                   <s:label text="file name: " color="#ffffff" fontfamily="dinot-bold" />
                                   <s:label text="{currentselection.filename}" color="#ffffff" fontfamily="dinot-regular" maxwidth="111" linebreak="explicit" />
                              </s:hgroup>
                              <s:hgroup>
                                   <s:label text="video id: " fontfamily="dinot-bold" color="#ffffff" />
                                   <s:label text="{currentselection.videoid}" fontfamily="dinot-regular" color="#ffffff" />
                              </s:hgroup>
                         </s:vgroup>
                         <s:hgroup paddingleft="400" paddingtop="60">
                              <s:label id="datefieldlbl" color="#ffffff" text="date available" paddingtop="5" paddingright="15" />
                              <s:group>
                                   <mx:datefield id="datefield" initialize="txtfieldinitialized();" x="-75"
                                                    change="getseldate();" stylename="datefieldstyle" depth="100" fontsize="10" />
                              </s:group>
                         </s:hgroup>
                         <s:hgroup paddingtop="65" paddingleft="515">
                              <s:checkbox id="corp" label="corporate" stylename="checkboxstyle" selected="false" />
                              <s:checkbox id="insider" label="insider" stylename="checkboxstyle" click="checkboxclicked(insider);" selected="false" />
                              <s:checkbox id="podcast" label="podcast" stylename="checkboxstyle" click="checkboxclicked(podcast);" selected="false" />
                              <s:checkbox id="iphone" label="iphone" stylename="checkboxstyle" click="checkboxclicked(iphone);" selected="false" />
                         </s:hgroup>
                    </s:bordercontainer>
                    <s:hgroup>
                         <s:bordercontainer bordervisible="false">
                              <s:videoplayer id="videoplayer" width="545" height="307" mediaplayerstatechange="vidplyr_mediaplayerstatechangehandler(event);"
                                                visible="true" skinclass="modules.videohandler.components.videoplayerskin" dropshadowvisible="false" />
                              <mx:linkbutton label="capture" skin="{null}" color="#0184c7" rollovercolor="#333333" click="capturevideo();" top="330" left="475" />
                         </s:bordercontainer>
                         <s:vgroup>
                              <s:hgroup>
                                   <mx:image id="initialthumbnail" stylename="imgskin" source="{popupthumbnail}" width="100" height="55" />
                                   <s:group>
                                        <mx:linkbutton label="save" skin="{null}" color="#0184c7" rollovercolor="#333333" paddingleft="78" paddingtop="16" click="savedata();" />
                                        <mx:linkbutton label="close" skin="{null}" color="#0184c7" rollovercolor="#333333" paddingleft="68" paddingtop="30" click="hidedetails.play(); resetvars();" />
                                   </s:group>
                              </s:hgroup>
                              <mx:accordion id="tagsncategoriesaccordion" width="225" height="285" bordervisible="false" headerstylename="headerstyle" borderstyle="none">
                                   <s:navigatorcontent id="channel" label="channel" visible="false">
                                                        </s:navigatorcontent>
                              </mx:accordion>
                         </s:vgroup>
                    </s:hgroup>
               </s:vgroup>
          </s:group>
     </s:vgroup>
</s:popupanchor>

i'm guessing you'll have better chances question in flex forum:

 

http://forums.adobe.com/community/flex/flex_general_discussion



More discussions in Using Flash Builder


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support