Text input and button who stretches without reason in accordion

Take a look at this http://beta.goodsense.com.

Click on "search catalog.

Can someone tell me why the textinput and button are stretched like that? They look good in their individual containers, but when I put them in the accordion, they stretch like that... Note that if you type some text in, the first letter does not begin at the far left.


Component of the search box:

"" < mx:HBox xmlns:mx = ' http://www.adobe.com/2006/mxml " height ="100% "verticalAlign ="top"horizontalAlign ="left"width ="100% ">
< mx:TextInput width = "190" id = "searchBox" text = "{_defaultText}" editable = "true" focusIn = "{onFocus ()}" Focusout/focusouthandler() = "{onFocusOut ()}" / > "
< mx:Button "691" = x y = "132" label = "Go" id = "searchBtn" click = "{getSearchResults ()}" / >
< / mx:HBox >

Element of the accordion:
"" < mx:Accordion xmlns:mx = ' http://www.adobe.com/2006/mxml " width ="265"height ="360"creationComplete =" init () "xmlns:ns1 =" goodsense.Components. * ">"
< ns1:FilterTherapeuticClass id = "tClassFilter" / >
< ns1:ProductGroupfilter id = "prodGroupFilter" enabled = "false" / >
< ns1:SearchBox id = "searchBox" label = "catalog search" paddingTop = paddingLeft = "5" "5" width = "100%" / >
< ns1:CompareToFilter id = "compareToFilter" / >
< / mx:Accordion >

I thought about it. My CSS has a property called "textindent = 25" that I didn't think would affect his children. The textindent aimed for the header, so I added this line to the header css instead.

Accordion {}
borderStyle: none;
borderThickness: 2;
headerHeight: 26;
backgroundAlpha: 0.09;
textIndent: 25;
openDuration: 523;
fillAlphas: 0, 0, 0, 0;
backgroundColor: #ffffff;
borderColor: #ff9933;
dropShadowEnabled: true;
shadowDirection: right.
headerStyleName: 'myaccordionHeader ';
}
{.myaccordionHeader}
color: #ff9933;
textIndent: 25;
fontFamily: Tahoma;
fontWeight: bold;
}

Tags: Flex

Similar Questions

  • Problem with 'Text input' and «Close a PopUp» required

    Hello world

    I'm having a little problem with a popup,

    I have a popup with I opened on the action of a button with this code...

    {} public void showPopup (RichPopup loPopup)
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ExtendedRenderKitService = service
    Service.getRenderKitService (facesContext,
    ExtendedRenderKitService.class);
    service.addScript (facesContext, ' AdfPage.PAGE.findComponent ('"+ loPopup.getClientId (facesContext) +"') ". show();" ');
    }

    Show pop-up, ok within the pop-up window, I have a window Panel and a presentation of form with 3 text input, this input due reg exp validation text and are true... in my layout, I have 2 buttons, one to save the changes, and another button 'Cancel' to close the popup...

    The problem I have is, if one of the text entry has an "Error Message" (for the validation of reg exp or need) and I click on the button 'Cancel', don't close my popup.

    My code to close the popup in my grain of support is:

    this.getPoPo1 (.cancel ());

    Where poPo1 is a var RichPopup

    I already try with masquer()... and nothing!

    Hope someone can help me, I want to emulate the close context menu icon feature.

    Greetings from the Mexico!

    Alberto Tapia

    A Cancel button to true immediate property?

     
    

    This setting configures if data - client-side or server-side validation - is ignored when the events are generated by this component.

    Timo

  • Text input and track

    Hello

    I'm doing a mathematical equation in as2 to Flash. I want him out when someone enter a number in the text entry box and presses the button, he adds this number with another number set (5).

    This is the code I have for the scene.

    var number2:Number = 5;

    var number1:Number = parseInt (text_txt.text);

    button_btn.onRelease = function()

    {

    trace (number1 + number2);

    };

    button_btn is the instance name button I press.

    text_txt is the name of the instance for the text entry

    In the out of the box just says NaN (not a number). It does not matter what number I set the text box.

    When I pass the parseInt (text_txt.text) with a number it works perfectly fine, but in this way it does not use the input text area

    Note that I'm still a noob to Flash. I know very little coding.

    Thanks in advance for anyone who can help.

    When you set the text value to the variable, you need on any value, the text has at this time.  It do not keep track of this variable and up to date for a change.

    Move the assignment of a value of Number1 within the function of the button...

  • editable text field and button is not editable when added to the Manager of the Horizontal

    I find layout, when I added the button and EditField horizontally, Manager, I'm not able to write something in the EditField and not able to click on the button

    public class MyStorySearch extends MainScreen
    {
    
        private VerticalFieldManager mainManager;
        private VerticalFieldManager subManager;
        private Bitmap _backgroundBitmap = Bitmap.getBitmapResource("a.png");
        private int deviceWidth = Display.getWidth();
        private int deviceHeight = Display.getHeight();
        LabelField lbl;
        ButtonField gobtn= new ButtonField("Go");
        HorizontalFieldManager hfm = new HorizontalFieldManager(Manager.FOCUSABLE|Manager.EDITABLE);
        private Field editfild;
        Bitmap bitmapImage = Bitmap.getBitmapResource("storysearch.png");
        BitmapField fieldDemo;
    
        public MyStorySearch()
        {
            super(NO_VERTICAL_SCROLL);
            //this manager is used for the static background image
            mainManager = new VerticalFieldManager(
                              Manager.NO_VERTICAL_SCROLL |
                              Manager.NO_VERTICAL_SCROLLBAR )
            {
                public void paint(Graphics graphics)
                {
                    graphics.clear();
                    graphics.drawBitmap(0, 0, deviceWidth,
                             deviceHeight, _backgroundBitmap, 0, 0);
                    super.paint(graphics);
                }
            };
    
            //this manger is used for adding the componentes
            subManager = new VerticalFieldManager(
                             Manager.VERTICAL_SCROLL |
                             Manager.VERTICAL_SCROLLBAR )
            {
                protected void sublayout(int maxWidth, int maxHeight)
                {
                    int displayWidth = deviceWidth;
                    int displayHeight = deviceHeight;
    
                    super.sublayout( displayWidth, displayHeight);
                    setExtent( displayWidth, displayHeight);
                }
            };
    
            //add your component to this subManager
            lbl = new LabelField("SUNRAYS SEARCH", LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER);
            Font myFont = Font.getDefault().derive(Font.PLAIN, 10, Ui.UNITS_pt);
            lbl.setFont(myFont);
            subManager.add(lbl);
            subManager.add(new SeparatorField());
    
            editfild = new EditField(){
                protected void layout(int width, int height) {
                    setExtent(width*85/100, 30);
    
                };
            };
            editfild.setBorder( BorderFactory.createSimpleBorder( new XYEdges(2, 2, 2, 2),
                    new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK), Border.STYLE_SOLID));
            editfild.setBackground(BackgroundFactory.createSolidBackground(Color.WHITE));
    
            hfm.add(editfild);
            hfm.add(gobtn);
    
            subManager.add(hfm);
    
            //add subManager over the mainManager
            mainManager.add(subManager);
    
            //finally add the mainManager over the screen
            this.add(mainManager);
        }
    }
    

    The following code shows an EditField and a button, and I can type in the EditField and click the button.  It is not perfect, but at least it works.

    I don't know what the problem is with your code.  I suggest review you my code, review your code and investigate things that are different.

    Two areas I would focus on your layout and the sublayout.  As stated in a previous post, if you must code a setExtent in a layout, then you should really think about creating your own Manager - I gave you links to do this several times.  And if you plan to use a standard field and to make it work properly, you must use the sublayout.  Here is a link to help you create custom fields:

    http://supportforums.BlackBerry.com/T5/Java-development/create-custom-fields/Ta-p/444962

    Edit:

    Thanks for the update of these discussions.

    And I'm sorry.   I forgot to paste the code...  Here, it is now...

            EditField editfild = new EditField(){
                protected void layout(int width, int height) {
                    super.layout(width*85/100, height);
                };
            };
            editfild.setBorder( BorderFactory.createSimpleBorder( new XYEdges(2, 2, 2, 2),
                    new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK), Border.STYLE_SOLID));
            editfild.setBackground(BackgroundFactory.createSolidBackground(Color.WHITE));
            ButtonField gobtn= new ButtonField("Go") {
                protected boolean navigationClick(int status, int time){
                    Status.show("button clicked");
                    return true;
                }
            };
            HorizontalFieldManager hfm = new HorizontalFieldManager();
            hfm.add(editfild);
            hfm.add(gobtn);
            this.add(hfm);
    
  • The Windows Help and Support window appears without reason

    original title: THE HELP AND SUPPORT WINDOWS

    How can I prevent the Windows Help and Support window popping up? My laptop came back from en Acer wh that the keyboard had to be replaced from this window opens at random. When I close it and pop back up again. This happens several times before it stops.

    Hello

    You can try methods below and check if it helps:

    Method 1:

    You can try to perform the clean boot and check if the problem still persists to see how to perform the clean boot, click the link below and follow the steps in the Kb article.

    http://support.Microsoft.com/kb/929135

    Warning: After using the boot is a way to solve your problem step 7 follow-up to reset the computer to start as usual.

     

    Method 2:

    I also suggest you to run a scan antivirus online free from Microsoft Web site.

    one) to scan online for any virus threats

    Click: http://onecare.live.com/site/en-us/default.htm

    (b) click on "Security Scanner" and select "full analysis of the Service.

    You can download free antivirus Microsoft Microsoft Security Essential . Click on the link to download Microsoft security essentials: http://www.microsoft.com/security_essentials/

     

    Hope this helps,

  • Align the text field and a button.

    Hi all

    I use Oracle APEX 5.0.1.

    I tried to create a search page that contain a text field and a button.

    But I can't align the text field and button, so they can have the same top position.

    Could someone please help me solve this problem?

    APEX-ARE-Search.jpg

    Thank you and best regards,

    Troy.

    Hello.

    Have you tried to add a css attribute to the button? like: style = "top: 4px;

    Concerning

  • Missing labels and buttons in the projects

    Hey,.

    I've recently upgraded to the licensed version of Captivate after using a trial - however, it seems that a number of buttons, the button text and the text of the label just disappeared without reason that I see. Creating labels and new buttons fails to produce anything to the screen in the current project or a new project.

    Everyone knows this or have any ideas for me to try?

    Thank you

    Richard

    Another thing to try is to close all the Captivate projects down and clear the cache by clicking on the button to edit > Preferences > General. Then restart your PC.

    Sometimes, I saw my buttons disappear in the projects and just clear the cache and restart like that fixed it.

  • the color of blue default text input focus

    What is the property to change the default color of the development of the components of area text input and text (the light blue color around them). I guess that there is a property css or something, I just have not been able to find.

    Have you looked at the Flex Style Explorer? It is extremely useful to see what can be done and how do something with styles.
    http://examples.Adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#

    Tracy

  • perform the action of the button method without raising of validation of text input

    Hello
    My English is not very good
    I use jdeveloper 11.1.1.3.0

    I have a button and an inputText (with validation) on the page. I set an action to the button method.
    When I click the button, the text input validation lift and method of the button does not work.
    If I put immediate = true for the button, then the validation raises, but in this case also the button method doesn't work.
    How can I run action method of the button without text input validation?

    Habib

    + 1

    the method must be called. Immediate = "true" on a circumvention of the JSF update model button so that for example submit and commit have no impact (just in case that's what you mean by method)

    Frank

  • Text input field causes lose the button onRelease event.

    Hello. I'm working on an application that sends mobile wallpapers. I have three areas highlighted in place in a movieclip called mobileNav. This movieclip mobileNAv exists in a movieclip called parent WPManager, who owns several other clips on different layers. The mobileNav movieclip has a path of class as2 to a class called MOBManager that extends movieclip. There are three layers inside this movieclip. the top layer is a movieclip called mobilePhnNumber and inside of it is a field of text entry with the name of the instance "txt". When I instantiate my application and go to the section mobile type "0000000", or "111111111" or "2222222", a button that exists at the level of the top application loses his onRelease method. However, its still retains its onRollover and onRollout events. Now if I return to the text field and type in othe sequence of numbers, for example "3333333333", the button resumes his onRelease event. It seems that any sequence of numbers ending in 0,1 or 2 break the button. The rest of this section works correctly. I do not have something strange in the text field. Ive literally tried everything from all the action of a text field that I put, for example, commenting on, disabling

    wallPhnNum.wallInput.txt.onSetFocus = mx.utils.Delegate.create (this, textFocus);
    wallPhnNum.wallInput.txt.onChanged = mx.utils.Delegate.create (this, textChanged);
    wallPhnNum.wallInput.txt.onKillFocus = mx.utils.Delegate.create (this, textKillFocus);

    wallPhnNum.wallInput.txt.text = "000-000-0000";
    wallPhnNum.wallInput.txt.restrict = "0-9 ^ ';
    wallPhnNum.wallInput.txt.maxChars = 12;

    and yet, she stops working with any sequence of numbers ending in 0,1,2. It works with any other strain. Ive also tried to move the text outside the movieclip entry field, at different levels of the application and it breaks again this button. If anyone has any ideas I would greatly appreciate! Thank you!

    thaks kglad, I actually solved this problem. It turns out that a utility class im using trace messages in the console view has been the cause of the problem. By replacing my journal by trace() statements, I saw that the method that actually, happening the utility recorder apparantley has keylisteners in it for various reasons, and of course these keylisteners are tuned for 0,1,2. In any case thank you very much!

  • my account has been temporarily blocked without reason in December and I can not even access

    OK, so in December, my old account was temp blocked without reason, when I didn't play the call of duty with my uncle and his friends. two days later is when it happened. I tried to contact support several times and they always say they can't discuss why it was blocked or when it will be unlocked. Only one, that I talked to sent me here and the rest ignore me and close my support requests without answering. I do not understand why I am blocked nearly 3 years of being a good sport. I swear, when you kill me and when they start talking about the trash I cut the. was still almost 4 months of gold left, which will not be refunded. The main reason I have my account is to play with friends and family who I don't get to see because we are in different States, and it gives us a way to always play things together. Can someone help me please. PS This is my all microsoft account that is blocked not only on xbox.

    If Microsoft has said they cannot discuss, what makes you think we can do something? This is a user forum.

    Windows Live ID support:
    http://Windows.Microsoft.com/en-us/Windows-Live/ID-support

  • Simple form: just 1 text field and the radio button 2...

    I have a question about the Muse Widgets when it forms.  I have a very simple interface, I want to try to apply an additional tax of an amount of entry; I want to give the user the ability to select Add fresh or not.

    The only widget I found on current Muse was a Simple Contact form emails. I've stripped down to 1 input text, group 1 radio. I exported html code, added in the onclick event in the HTML for the radio buttons perform the calculation of the additional tax.  On the action of the form = "xxx", muse creates a few php files for validation and finally sending the form as an email, I have a test in the form e-mail address.  I can stub out that php and put in my own actions to waive the sending of the email.  I have 2 questions: ONE QUESTION) on the level of code there is a control of the syntax form fields (corresponds to the entered text input, is a selected radio button, etc.). SimpleContact form comes with 3 < p > < / p > due to the action of the form = "xxx" statement. The 3 lines correspond to the errors, which is a generic "server has encountered a problem." (something like that).  Does anyone know what code is to identify the error and how it is returned to the call statement? MuseUtils.js?  It is not in the action = "xxx" php referenced file.  It maybe too much, I'm interlacing syntax, semantic validation on a form after the muse html export.  Second QUESTION) is before all this... it all simple forms of 3rd party, I can use (Group 1 radio 1 text, drop-down list), which I can integrate Muse?  Looked at Muse-themes.  Don't have a complete package of e-commerce, yet.  (This is for a non-profit and trying to reduce recurrent costs).  Sorry, this is so wordy, appreciated by any direction.

    Answering the second question, you can check out these alternatives:

    http://musewidgets.com/search?q=form

    Thank you

    Sanjit

  • New issues of Viewer with WHO and buttons

    Hello

    I had a publication almost ready to go, has worked very well and uploaded to the cloud. Then I updated the tools, builder on mac and Viewer on iPad with all latest updates (including the update January 26 and Jan. 17 Folio tools etc.) and all WHO and buttons, I had started "misbehaving." I have re-uploaded all on cloud again and I got these errors:

    -Some buttons have become "untappable" (they work fine on the Desktop Viewer)

    -J' have pop MSO box with the text which is triggered by a button - text will not appear on the iPad, but it shows on desktop viewer correctly. If I saw it, it shows too much on iPad

    -With the previous observer, the video would come before any object when it is played, including the ESM. Now, it seems to put the video in the face and cover all your buttons "play" etc.

    Can you tell me if these are planned on the workflow changes or just a mistake on the viewer of the iPad and planning be fixed?

    Cheers, Tony

    Tony, I see this is your first post.

    PLEASE read the other threads published recently. In short, it is a bug very serious (IMO) in the viewer of content on the iPad.

    If you have not used the new features in the new tools you can restore version 17.

    Bob

  • Captivate: Buttons have need more than 1 click &amp; amp; More than text input a keypress entry

    Hello
    I'm loading Captivate content in a Flash wrapper that is embedded in an HTML page. Sometimes, when I enter text in a text input field my Captivate movie and then press the Enter key, it does not save the key in the first place, but it does when I do it again. Occasionally, clicks on the text buttons are not the first time also approved.
    This behavior is not consistent, and the same files work perfectly in other cases.
    Does anyone have an idea of what could be the problem? Would appreciate a quick response.

    Thank you!
    Mohsin Nabi

    Have you ever it works correctly? I'm having the same problem.

  • Text on the buttons labels have disappeared, and the legs went above the address bar. Why?

    Last night, I've updated for Firefox 29.0.1. Now, I don't mind not change - and reworks - doesn't bother me but I HATE it when the options are removed. I want text labels on buttons (the ' Home' button, for example"). In the previous version of Firefox, you can click in the gray area at the top right and select "Customize". From there, you could drag and drop of what things you want to appear in your toolbar or not - and there is a check box for Select if you wanted the labels of text appears under them or not. Now as hard as I look, I can not find this option. So you're now forcing people to use ONLY icons. I hate this. My brain processes the word 'Home' much more quickly that it recognizes a bit the image of a House. You must understand that people act in different ways - and all simply because the developers of Firefox can not personally use text labels, which does not mean that person only!

    What is the point in removing the option? Not at all. Please re - introduce the option. In the meantime, I'll be back to the previous version of Firefox.

    In addition, I see that the tabs are now moved on top of the address bar. New - WHY? I love them below. Why do you feel the need to make changes - and then not giving people the ability to customize things how they like?

    You can watch the classic extension theme restaurateur restore some features that has been lost with the arrival of the Australis style in Firefox 29.

    You can check the settings of the extension of the CTR through the Options/preferences button on the page "Firefox/tools > Modules > Extensions.

    See also:

Maybe you are looking for