Select to view content in your preferred language

Widget Title width

2007
3
09-20-2011 08:22 AM
FaizanTayyab
Deactivated User
I know i have seen a thread regarding this but cant seem to find it. Does anybody know what i need to change in order to stop the widget title being truncated with ..... This occurs on minimizing the widget.
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Faizan,

   In the HeaderControllerWidget.mxml the maxwidth is hard coded.

<components:AutoFontLabel id="bannerTitle"
                                              maxWidth="300"
                                              styleName="BannerTitle"/>
                    <components:AutoFontLabel id="bannerSubtitle"
                                              maxWidth="300"
                                              styleName="BannerSubtitle"
                                              updateComplete="onSubTitleUpdateComplete(event)"/>
0 Kudos
FaizanTayyab
Deactivated User
Faizan,

   In the HeaderControllerWidget.mxml the maxwidth is hard coded.

<components:AutoFontLabel id="bannerTitle"
                                              maxWidth="300"
                                              styleName="BannerTitle"/>
                    <components:AutoFontLabel id="bannerSubtitle"
                                              maxWidth="300"
                                              styleName="BannerSubtitle"
                                              updateComplete="onSubTitleUpdateComplete(event)"/>


Thanks Robert, however removing the maxWidth did not change anything. i still get the name truncated with ... if the title of the widget is long.

Any other changes?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Faizan,

  Sure remove the maxWidth and add a width="500" or something like that.
0 Kudos