Preventing scrollbars appearing when font size changes

I have a Panel container (relative layout with now height/width specified) containing text which has its font size determined at runtime from an external stylesheet. In my application, the user has the option to change font size (ie. load a separate external stylesheet). The problem is, whenever larger font sizes are chosen, horizontal and vertical scroll bars keep appearing within my panel container. I do not want this at all, I want the panel to resize!
I've tried almost everything, including:
Calling "validateNow()" when font size changes
Launching a resize event when font size changes
Overriding the updateDisplayList method of Panel and trying to set the height and width to the newly measured height and width.
None seem to be effective. It is as if the Panel does is not able to calculate the new size when the font size changes.
Any help would be GREATLY appreciated.

With mx panel you can set its verticalScrollPolicy="off" horizontalScrollPolicy=""off",

Similar Messages

  • New user of Mountain Lion. I find that when I attach a URL as a link to Mail 6.0. The font and font size changes!!!!

    I have a problem with either Mountain Lion, Safari or Mail 6.0.
      When I try to attach a URL as a link that is taken from Safari to mail 6.0 the font and font size changes!!!!!
    It changes from comic sans 24 to heltvekia 12!!!! What the heck is going on??????
    Thanks for any help you can shed on this problem.

    I also upgraded to Lion and do have font problems in Mail. Just in some mails, including my own signature.
    I just updated today with 10.7.1, but still have the font problem.
    Does anyone know if Apple will solve this?

  • When I try to print from Numbers on my ipad using fingerprint app, the font size change automatically from document to document

    When I try to print from Numbers on my ipad using fingerprint app, the font size change automatically from document to document

    FingerPrint is not listed as supported on this page: AirPrint Basics
    You might check with the makers of FingerPrint.

  • Font size changes when pasting ito new layer

    Since I updated Phothoshop to CC a strange error occures. When I copy text from one layer and paste it into a new layer the font size changes. I have tried resetting the texttool but this has no effect. Does anybody know what the solution to this problem can be?
    OS 10.9.4, CC 2014

    This should not happen.
    Try duplicating the layer with Ctlr + J...

  • My font sizes change when I send e-mails from Apple Mail.

    My font sizes change when I send e-mails in Apple Mail.  Sometimes the font style changes, too.
    This is unacceptable, as I use my e-mail for business applications. 
    Any suggestions for a fix?
    Thank you.

    Before you do that I must warn you that also with PC is the same.
    It's not the hardware nor the software that makes the difference, because e-mail must obey to certain rules that is RFC.
    Maybe what you are looking for is a message that looks like a web page.
    You can find something of that kind here.
    But again, the recipient e-mail could have little differences from the original that depend on many variables
    If you are curious enough to know a little more about electronic mail you can read this page
    IMHO you already have the best in Hardware and software. It would be a pity to give away that gem

  • Font size changes in emails for mac to windows

    When I send an email from my Mac using Microsoft Outlook 2011 the font size changes when sent to a Windows computer. Some of the email is ok and then some lines of text are in a larger font size. How do I maintain consistency in font sizes from Mac to
    PC with Windows? I send all emails using HTML formatting. Thanks!

    This is a known issue when sending emails from Outlook for Mac to Outlook for Windows. This is caused by the pixel-to-point or point-to-pixel conversion that happens between the Mac and Windows operating systems. See:
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office

  • I downloaded theme font size changer but it won't install

    I'm using Thunderbird on a laptop running Windows 7. I want to increase the text size of the inbox and other folders. I downloaded the Theme Font Size Changer add on to my desktop but I don't get an option to install it into Thunderbird. Can you help?

    ''rj7500 [[#question-1045777|said]]''
    I'm using Thunderbird on a laptop running Windows 7. I want to increase the text size of the inbox and other folders. I downloaded the Theme Font Size Changer add on to my desktop but I don't get an option to install it into Thunderbird. Can you help?
    Thank you Diego for the quick reply

  • Change appearance eg font size etc

    I am often having troubles in iCal that I can't view the whole contents of an event box in the week view.
    Is there a plugin or whatever that can change this?
    - Possibility to show/not show the time in the event box.
    - Possibility to change the font size and style.

    The only way that I know of to influence how information is displayed in the week view is to change the size of the viewer window.
    Font size is not selectable through the user interface and there are currently no third party solutions.
    Please make your need/desire for changing the appearance known through Mac OS X Feedback.

  • Font size changed when ppt imported

    This happened on only a few slides, not all of the slides.  Font size in ppt is the same on every slide.   I tried publishing the project to see if would correct itself and it didn't.  Any ideas would be great.  Thanks!

    I figured it out....I had individual text boxes a few of my slides in ppt.  It seems as though Captivate has a hard time reading those.  I fixed it by just using the large text box that appears on a slide when you click the 'new slide' button.  Do not use individual text boxes on slides for importing.

  • Why does the font size change unexpectedly when I use the touchpad with my new HP laptop with Windows 8?

    Frequently the font size will change when the touchpad is touched. This is annoying! Is there a setting adjustment I can make to keep this from happening?

    This is very experimental, but since no one else has replied...
    I'm not sure which computers are affected, but Firefox has some support for touchpad "gestures" on multi-touch touchpads. Most of the ones that affect the zoom level of the page are the "pinching" gestures, like a smartphone screen. However, it seems that by default a "tap" will reset the zoom level, and that might be the problem here.
    Could you try this?
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''gest''' and pause while the list is filtered
    (3) Double-click '''browser.gesture.tap''' and change it to... I'm not sure whether there is a command for "do nothing" but you could try typing or pasting in '''cmd_selectNone''' which cancels the current text selection in the page (if any).

  • Auto numbering changes when the font size changes

    I get files made in InDesign CS4 that have paragraph styles assigned to create numbered lists within the body. They are fine as they are when they are opened.
    When I make changes they often- not always- change to 'continue from previous number' instead of staying 'start at 1'. The changes I have make are to change the document size, the font size and the margins.
    Is there something I am doing that allows them to change, or is there something that I can do to keep them from changing?

    Your doubt is not yet clear.
    I think u have not used smartstyles just changed the Font.
    To Test it if data is not coming from driver program,then just excute the smartform-(Press F8) .
    The Print Page will be seen to you.
    Accordingly you can undrstand whether it is decreased or not.

  • Font Size changing when I reply to an email from a coworker only

    I am having a problem. Typically when I reply to an email, all font sizes and colors are exactly how they are supposed to be. However, there is one person that the font size and font style changes everytime I reply.
    Please tell me how to fix this to match everything else.

    As this issue seems mostly related to mailing (Exchange part) you can place your question in our Exchange Forum as they can solve your issue in more appropriate way. For your convenience here placing the link for
    Exchange Forum.
    Thanks for your Understanding & Support!

  • Font size changes when exporting

    Hi all,
      When i do an RTF export of my report i found that some text has got a different size from the original font size given during design. i had given the font size as 11 during design but when i export as RTF it is shown as 10.5
    When i export the same report as an editable RTF the fontsize is 11.
    An thoughts on this?
    Edited by: prem kn on Jul 15, 2008 6:22 PM

    For some export types - RTF and PDF included - the fonts are decreased by some amount, to prevent cut-off issues.  It's expected default behavior.
    Ted Ueda

  • CustomTaskPane Title font size changed when upgrading from 2010 to 2013

    I just upgraded my Word project from Office 2010 to Office 2013. The title of my task pane has changed font size considerably. Is there anyway to control the font size of the custom task pane title?
    taskPane = Globals.ThisAddIn.CustomTaskPanes.Add(new Ey.Wpp.Word.Controls.WppDocTreeControl(), "WPP Report Pane", ctx.Window);

    Hi Jeffki123,
    I can reproduce it as you describing. Based on my understanding, the task pane is drawed by Word applicaiton, the Word applicaiton need to make task pane fit the current version of Office.
    >>Is there anyway to control the font size of the custom task pane title?<<
    No. As far as I konw, we can only change the size and postion of custom task pane. You can get more detail about the task pane from links below:
    Custom Task Panes
    CustomTaskPane Interface
    I suggest that you submit the feedback from link below, if you want to Word expose this function to enable change the font size of custom task pane.
    Submit Feedback - Microsoft Support
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    HERE to participate the survey.

  • Table font size changes when I set other font property

    I had anomalous behavior in a VI i wrote so I did the following to troubleshoot it.  Can anybody explain what's going on?
    I created a table indicator and changed the font size to 36 for a 5x5 area cells using mouse-drag-select and the front panel "Xpt Application Font" dropdown.  I changed one of the rows to font=strikeout using the same front panel dropdown.    I then used the FOR loops and properties as below to change the stikeout property to FALSE for all 5 rows.  Running the VI caused the font size of all of the text to change, even though the CellFontSize property was not set anywhere in the VI.  I manually set the font sizes to 36 again and subsequent runs of the the VI did not affect the font sizes. 

    I did not attach the code because after it runs it is "fixed".  The FOR loop I described is easy enough to recreate but it seems there was an issue with the image in the first post so I've attached it here (rather than try again to include it in the message). 
    table_font.png ‏12 KB

Maybe you are looking for

  • How do I burn a CD when I can't find it...

    This is a ridiculously simple thing. I can't figure it out. I want to burn a CD from a flash memory drive. I inserted a black CD (and verified it was blank via System Profiler). My problem is two fold: 1. I can't find any application from which to st

  • Webcache process in a strange status

    Hi, Here is my problem. config : RHEL 2.4.9 32-bit Intel oracle AS when I issue : $ opmnctl startall Error --> Process (pid=15193) time out while waiting for a managed process to restart Log: .../opmn/logs/WebCache~WebCache~1 $ opmnctl sta

  • Composition hides itself immediately after being triggered

    After pulling my hair out for several minutes trying to figure out why my submenu items were being triggered before the main menu was being triggered, I stumbled upon a new issue. I am working with two blank composition widgets; the first acts a blan

  • Server Side Incldes

    Running Mac 0S10.4.6. I struggled but finally managed to get my head around the testing server utility in Dreamweaver 8. I'm doing this to try and make a logical progression to get my web sites more dynamic. I'm using SSI fine on a remote server but

  • What awuful design of Felx 2 and Yoga 2!

    Hello, I just would like to express my "dislike" of the desin of the new model Flex 2!  While the specs remain 'acceptable' (they are still basic though), the design particularly the pale color is REALLy awful and very ugly (for me at least)!  How su