[svn:fx-trunk] 11697: Get scroll bars back.

Revision: 11697
Author:   [email protected]
Date:     2009-11-12 08:15:17 -0800 (Thu, 12 Nov 2009)
Log Message:
Get scroll bars back.  Yesterday's rev 11652 which added an invalidateSize() call to the damageHandler interacts badly with a hack in measure() for the scroller to help it deal with resizes that sets _contentWidth and _contentHeight to 0.  It is possible that there will be a remeasure, but nothing needs to be composed so _contentWidth and _contentHeight are not updated and the scroller thinks scroll bars are needed.
Remove the code which set _contentWidth and _contentHeight to 0 added for SDK-22469. Much has changed in both RET and the scoller since this code was done.  I retested SDK-22469 and it looks good with the code removed and we have scroll bars back when they are needed.
QE notes: could retest SDK-22469 if you desire, need a mustella test for the absence of scroll bars when they should be there
Doc notes:
Bugs:
Reviewer: will be Gordon
Tests run: checkintests, TextArea
Is noteworthy for integration: no
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-22469
    http://bugs.adobe.com/jira/browse/SDK-22469
    http://bugs.adobe.com/jira/browse/SDK-22469
Modified Paths:
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as

Thats good news.

Similar Messages

  • Can I get my scroll bars back?

    After one day of using the new Lion scroll system, my wrist is killing me.  Is there a way to get the scroll bars back in Lion?

    You can check show always in systPref in the general pane as leroy.. say ..

  • Can I get scroll bars in lion?

    can I get scroll bars in lion?

    Ninja-neko wrote:
    can I get scroll bars in lion?
    System Preferences > General > Show Scroll Bars
    Pete

  • How do I get my horizontal scroll bar back?

    Well, I just installed firefox 5 on my computer and for some reason, the bottom horizontal scroll bar you use to move the screen left to right has gone missing. So my question is, how do I get it back?

    I had this problem and it only started after installing firefox v12.0 (on win xp).
    Mozilla mentions it is related to the css 'overflow' attribute not being defined correctly.
    HOWEVER, in my case, the offending line of css belonged to the jquery ui library
    file: jquery-ui-1.7.2.custom.css
    .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
    all I needed to do was remove one of the '9's and the horizontal scroll bar reappeared on all pages that included this jquery ui lib.
    the better solution would be to upgrade to the latest jquery ui lib.

  • How do I get the scroll bar back to the right side of the screen and how do I get the mouse scroll wheel to work again?

    Yesterday the scroll bar on Firefox was moved from the right to the left of the screen and the webpages do not scroll when using the mouse scroll wheel.

    Reset the pref <b>layout.scrollbar.side</b> to '0' or set to '2' to place the scroll bar at the default right side.
    See:
    * http://kb.mozillazine.org/layout.scrollbar.side
    * http://kb.mozillazine.org/about%3Aconfig
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Getting Scroll bar to Return to Top.

    This is my first time messing with Swing (always thought the GUI guys didn't know how to program) anyway, it's kinda fun to add a nice interface to the rest of my code. I send a command to something and get a return vector back, however, when I reprint all the data the scroll bar ends up at the bottom instead of the top where the new information is. Here's my code. The last method is the one that does the Text Area updating.
    package com.ibm.SvcCliSimulator.RMI;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class RMIUI extends JFrame {
         JPanel contentPane;
         JPanel jPanel1 = new JPanel();
         JLabel inputLabel = new JLabel();
         JTextField textField = new JTextField();
         JButton jButton1 = new JButton();
         JScrollPane jScrollPane1 = new JScrollPane();
         static JTextArea returnInfo = new JTextArea();
         GridBagLayout gridBagLayout1 = new GridBagLayout();
         RMIInterface cmdSender;
         Vector aReturnVec = new Vector();
         public RMIUI(RMIInterface cmdSdr) {
              enableEvents(AWTEvent.WINDOW_EVENT_MASK);
              try {
                   jbInit();
                   cmdSender = cmdSdr;
              catch(Exception e) {
                   e.printStackTrace();
         private void jbInit() throws Exception  {
              //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
              contentPane = (JPanel) this.getContentPane();
              contentPane.setLayout(gridBagLayout1);
              this.setSize(new Dimension(550, 450));
              this.setTitle("Frame Title");
              jPanel1.setOpaque(false);
              jPanel1.setLayout(null);
              inputLabel.setOpaque(true);
              inputLabel.setText("Enter Command:");
              inputLabel.setBounds(new Rectangle(6, 12, 100, 26));
              textField.setText("svinfo -x list -o");
              textField.setBounds(new Rectangle(106, 11, 271, 28));
              jScrollPane1.setBounds(new Rectangle(8, 64, 532, 374));
              jScrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
              returnInfo.setBackground(new Color(224, 208, 204));
              returnInfo.setEditable(false);
              jButton1.setText("Send Command");
              jButton1.setBounds(new Rectangle(388, 11, 150, 30));
              jButton1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        String cmd = textField.getText();
                        try {
                             aReturnVec = cmdSender.sendCommand("11.111.11.1", cmd);
                             printVector(aReturnVec, cmd);
                        catch (Exception ex){
                             System.out.println(ex);
              textField.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        String cmd = textField.getText();
                        try {
                             aReturnVec = cmdSender.sendCommand("11.111.11.1", cmd);
                             printVector(aReturnVec, cmd);
                        catch (Exception ex){
                             System.out.println(ex);
              jPanel1.add(inputLabel, null);
              jPanel1.add(textField, null);
              jPanel1.add(jScrollPane1, null);
              jScrollPane1.getViewport().add(returnInfo, null);
              contentPane.add(jPanel1,  new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0
                        ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(6, 2, 3, 3), 544, 440));
              jPanel1.add(jButton1, null);
         protected void processWindowEvent(WindowEvent e) {
              super.processWindowEvent(e);
              if (e.getID() == WindowEvent.WINDOW_CLOSING) {
                     System.exit(0);
         public static void printVector(Vector v, String cmd){
              String old = returnInfo.getText();
              String s = cmd + "\n";
              for (int i=0; i<v.size(); i++)
                   s += (v.elementAt(i) + "\n");
              s += "\n\n" + old;
              returnInfo.setText(s);
    }

    Thanks a bunch....
    returnInfo.setCaretPosition(0);
    worked just fine. As I said, it's my first outting into this Swing deal.

  • Cant Get Scroll Bars to Show in iMac

    In one of my user account, I can't get the scroll bars to show!!!
    I want in preference-general and select ''Always'' under Show Scroll Bars, but I can't see them in Safari, Mail...
    When I close Preference, my ''Always'' selection is gone and it return to '' Automatically based on input device''
    Can you help?

    Do preferences in other programs run in this account stick? That is if you change a Safari preference or Finder preference in this account does the new settings remain?
    If in System Preferences you change Restore windows when quitting and re-opening apps does it stick?
    Try this:
    restart you machine holding down the option key while the machine reboots. You will be presented disk icons which allow you to choose which drive to boot off, select the Recovery HD.
    Once the system comes up in Recovery mode go past the language select screen and the select the Utilities menu item at the top of the screen. Select Terminal.
    In the open terminal window type resetpassword and press return. The Reset Password window will open. Select the root HD, then select the user account that is having the problem. Then at the bottom of the window select Reset Home Folder Permissions and ACLs
    Then quit Reset Password, quit Terminal then quit Mac OS X Utilities. The restart the machine.
    Try the System Preferences report back if that didn;t fix the problem.
    good luck

  • Table Grid resizing,How to avoid getting scroll bar in the browser

    Hi All,
    Requirement is to enable Grid Resizing feature in the Table UI element. The table will have  approx 12-30 columns
    For providing this feature on the table UI element, we have set the following properties
    'ScrollableColCount' Property of table UI is set to -1.
    'Resizable' property of each column is set to true.
    This will remove the scrollbar at table level and all the columns will be shown on the screen at one time.
    Problem encountered:
    1. Horizontal  scroll bar will be introduced on the screen.We tried giving width in pixels  to individual column grid but unable to eliminate this scroll bar in the screen.   
    2. Also the resizing properties modified for a table grid will be applied on the similar task screen having table UI element.
       For Example: In GP Workflow,if USer1 holds 2 task(Task A and B) of an application. If he resizes the column of the table in A task then these changes will be reflected in the B task table UI also.
    Please provide pointers on this.
    Thanks and Regards,
    Pradeep

    Hi,
    In table set tablecellEditor wrapping property to true,by default its false.
    By this you can get value in many rows(per row size is depend on whatever u have given for column width).
    this way you can avoid scroll bar.
    Regards
    Trilochan

  • How do I get scroll bars to work

    I get a vertical scroll bar where I don't want one.  The horizontal one (see attachment) is needed as the form gets quite wide when it is in Spanish.  But despite turning off verticalScrollPolicy everywhere, one of them still appears.
    <mx:AddChild relativeTo="{bodyFormHolder}" position="firstChild">
    <mx:VBox id="resultsPageBox"
    backgroundColor="#dedacf"
    width="100%"
    height="100%"
    verticalScrollPolicy="off" horizontalScrollPolicy="off">
    <mx:HBox id="rAccessHBox"
        minWidth="640" width="100%"
        x="0" y="0">
    </mx:HBox>
    <!-- across top *********************************************** -->
    <!-- ********************************************************** -->
    <mx:VBox id="topResultBox"
        verticalScrollPolicy="off" horizontalScrollPolicy="off"
        width="100%"
        styleName="backColor" >
    </mx:VBox>
    <mx:HBox id="bothSides"
        verticalScrollPolicy="off"
        width="100%"
        height="100%">
        <!-- first column ***************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="leftSideCanvas"
            verticalScrollPolicy="off"
            width="50%"
            height="100%"
            focusEnabled="false"
            styleName="backColor">
        </mx:VBox>
        <!-- second column **************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="rightSideCanvas"
            verticalScrollPolicy="off"
            backgroundColor="#dedacf"
            y="0"
            width="50%"
            height="100%">
        </mx:VBox>

    A bigger question is how to get the scroll bars to work from the keyboard.  The problem is to be accessible, the application must be available to blind or physically handicapped people that can't use a mouse.
    To get the entire form read requires horizonal scrolling in some cases such as when it is in Spanish or the font size it increased a lot.  Now, a horizontal scroll bar appears and is easily movable via the mouse, but we have to have it move without a mouse.
    I found the vertical bar came from the form object and I eliminated that, but the bigger issue still remains.

  • Used View menu to hide Status Bar...how get Status Bar back?

    Used View menu to hide Status Bar...how do I get the Status Bar back?

    to get back your status bar use this extension
    http://techdows.com/2010/10/bring-back-status-bar-functionality-to-add-on-bar-in-firefox-4-with-status-4-evar-extension.html
    hope this will help
    thank you..

  • I have lost the upper and lower tool bars on the Firefox home page. Now I have to scroll my mouse to the top of the screen in order to bring them up. How can I get the bars back?

    The home page fills my entire screen now and it didn't before. This happened about a week ago. I tried to do a Restore on my system but the problem still exists. The Firefox button on the left has disappeared too.

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.

  • Scroll bar, back/forward buttons and home buttons don't work

    I use Windows 7 and Firefox 6.0.1. The navigation buttons don't respond to mouseover and work only if the menu bar is selected.
    I don't want the menu bar because it reduces screen space. How can I get those buttons to work without the menu bar?

    Sounds like you have a corrupt '''places.sqlite''' file or corrupt '''localstore.rdf'''. Please see these articles which explain how to resolve the problem:<br><br>
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox<br><br>
    * http://kb.mozillazine.org/Corrupt_localstore.rdf<br><br>
    If this answers your question, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same subject.
    Thanks.

  • [svn:fx-trunk] 7796: get the correct locales of batik and xerces jars into the build

    Revision: 7796
    Author:   [email protected]
    Date:     2009-06-12 13:01:48 -0700 (Fri, 12 Jun 2009)
    Log Message:
    get the correct locales of batik and xerces jars into the build
    bug: https://bugs.adobe.com/jira/browse/SDK-21565
    qa: i18n team (make sure they're all there)
    checkintests: pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21565
    Modified Paths:
        flex/sdk/trunk/build.xml

    Originally posted by: rosec.messagingdirect.com
    I'll look into it; I'm a bit under the gun here and can't easily upend
    my development environment at this time, but hopefully I can look into
    it early next week. Thanks for the pointer.
    Daniel Megert wrote:
    > Chris Rose wrote:
    >> I don't know if this has been asked before (and you'd be amazed at how
    >> hard it is to find specific information when your search query is
    >> "eclipse 100% cpu usage opening class files in a jar"!) but, well,
    >> that's what I'm getting:
    >>
    >> When I open a class file in the editor that is contained in a jar file
    >> anywhere on a Java project's classpath, one of my processor pegs at
    >> 100% usage for anywhere from 15-120 seconds and eclipse becomes
    >> non-responsive for that period of time, not even redrawing the UI.
    >>
    >> This occurs for jars as large as the jboss client jar and the weblogic
    >> 80Mb uber-jar and for jars as small as a 241kb library jar.
    >>
    >> Is there anything I can do to track down WHY this is happening? I end
    >> up having to trace into third party code a lot while debugging
    >> container behaviour and this plays merry havoc with the timeouts for
    >> remote calls, so I'm quite motivated to suss out why it's happening.
    >>
    >> Eclipse details are attached.
    > There was a bug regarding big JARs on the build path. Can you try
    > whether this still happens using 3.4 M7. If so, please file a bug report
    > with steps to reproduce. Also, please create some stack dumps while
    > waiting and attach them to the bug report.
    >
    > Dani
    Chris Rose
    Developer Planet Consulting Group
    (780) 577-8433
    [email protected]

  • How can I get applications bar back?

    I accidentally deleted applications tab ,how can I get it back?

    I'm not sure what you mean.
    Do you mean that the "Edit > Preferences > Applications" tab if no longer available in Preferences?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • My pop-up blockers stays on, but when I would click something a pop-up a bar would come across asking if I wanted to "allow pop-ups for this site" or view a specific block pop-up. I accidentally clicked on "do not ask again". How do I get the bar back?

    My Firefox is set up to delete cache, and all history upon closing. But when I restarted my Firefox, or manually deleted everything, nothing worked. Is there a way to reset these? Or do I have to completely uninstall and reinstall Firefox? Even that might not work though.

    Please do the following.<br><br>
    #In the location bar, type '''about:config''' and hit Enter.<br><br>
    #In the filter at the top, type: '''keyword.URL'''<br><br>
    #Double click it and remove whatever's in there and replace it with http://www.google.com/search?q= and then click OK.<br><br>
    #Close the tab
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.<br><br>
    * Go to the site you want to set as your homepage.<br><br>
    * Click the Firefox button, go to '''Options '''| '''Options '''| '''General'''.<br><br>
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.<br><br>
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.<br>
    N.B. Some of your plugins are out of date which exposes your system to attack. Please visit the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.
    Also, click '''Help '''| '''Check For Updates''' to update Firefox to 3.6.19

Maybe you are looking for

  • Need info about HR realted data in webdynpro

    Hi experts,        I am very new to hr module to use in webdynpro abap. I want to extract HR data in webdynpro view. Where should I give Logical Database PNP? The ifnotypes key word is not accepting in Webdynpro coding? Please give me all the info wh

  • Can No Longer Record Audio With iMic

    I've been using the Camera Connection Kit with the iMic to record audio from my studio via 'Line In' for months with no issue. A few weeks ago, my iPad stopped recording using iMic. It only records with the internal mic now, so the sound is garbage.

  • Synching Blackberry and Address Book which  just works: impossible dream?

    I've got a Blackberry 8200g which synchs well with my office Lotus Notes setup. I'd like to be able to synch the office contacts book (but not email) with my home Mac's Address Book, with synching of Calendar a bonus, but not crucial. PocketMac Synch

  • Interactive PDF in an email body?

    How can I insert an interactive PDF that I've designed in InDesign into gmail as the email body? Do I need to export it as another file type?

  • Folio Builder Panel 1.1.7.2 is available

    Folio Builder panel 1.1.7.2 is now live and availabe from: http://www.adobe.com/downloads/ The individual download pages are: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5153 http://www.adobe.com/support/downloads/detail.jsp?ftpID=5152 ht