Alignment of the label question form

In my current application, I have a lot of forms with each with sets of form elements, as follows:

< mx:Form id = "theForm" >
< mx:FormItem id = "formName" label = "" name: "width ="100% ">"
< mx:TextInput id = "formNameText" text = 'Epsilon' / >
< / mx:FormItem >
< mx:FormItem id = "formDesc" label = "" name: "width ="100% ">"
< mx:TextArea id = "formDescText" text = "Lorem sit amet ipsum dolar" / >
< / mx:FormItem >
< / mx:Form >

Which is all very well, but by default the entire text of the label is displayed as well aligned. I would like to change this to left aligned, but I'm not finding a way. I tried on the shape and textAlign textAlign and horizontalAlign on the FormItem, without effect. I went through the reference language for FormItems and found the FormItemLabel object, which is supposed to support textAlign, but who, in CSS, did nothing. Y at - it a property somewhere that controls this, or I have no choice but to rebuild everything that elements in absolute position and empty the form?

The only way for you to do is to create your own extension to FormItem class. Form and FormItem are deliberately rigid in this sense; That's the purpose of the form and align the labels in this way. The container form MXML, unlike an HTML form, has no special meaning beyond the page layout.

If you don't want to extend the FormItem class, and then use the container for the grid (not DataGrid) and align objects as you want. Think of the grid as the equivalent in HTML format

tag.

If you have Flex Builder 2, make a grid in design mode will be much easier than hand coding it.

Tags: Flex

Similar Questions

  • Alignment of the label

    I have four check boxes. The user wants to first on his own line and the other four on the next line. The first has a long label, the others have a single word labels. I can't have the second line of four to align directly under the label of the box above. Line up the labels themselves. I'll try to imitate below, although I realize that sometimes spaces do align well in this message box...

    That's what I want:

    This is the label for the first box X
    2 X 3 X 4 X 5 X


    That's what I have:
    This is the Label for the First Checkbox    X
                                                    two  X    three X    four X    five X
    or, with the label aligned to the left
    This is the Label for the First Checkbox    X
    two                                                  X    three X    four X    five X
    Thanks in advance,
    Alexandra

    I'll take a look at the "quick fix" you sent... Thank you!

    Does not work: applies only to the boxes in a single element.

    I'm assuming that these boxes are the first/only on a line? Otherwise I don't think it would be so difficult... but the layout of the APEX form engine has a particular quirk: the label for the first part of the line still occupies a cell of table in itself. We can't get anything other than this single label in there, and that's causing your problem.

    There are probably a number of ways to work around that. Because it's brands that are the cause of the problem, it must end with integrated labels.

    1. create your own labels in the Pre element for each item text:

    
    

    substituting P22_YN1 with the name of each element (see the label corresponding to the terminology models).

    2 remove the labels of items and the label template for each element of the value Label No.

    3. set the display properties for the first box:

    Start on a new line: Yes field: Yes

    and for others, to:

    Start on a new line: No. : No.

    4 set the message for the first item text box:


    This approach puts all checkboxes in a form table cell. It will also work with them in separate cells by changing start it on new line... The field of values, defining a ColSpan for the first and losing the < br / >.

    In this way don't play nice with the validation messages online. If this is a problem, then a different approach is called for. Creating mock objects at the beginning of lines...?

  • Alignment of the text in forms

    I have the same rectangle at the top and at the bottom of a presentation as a banner of classification. When I add text to the rectangle using the right-click | Add text, the text seems to be aligned exactly as I want, centered on the x and y-axis. However, once introduced in preview or published, the text seems to be aligned at the top of the rectangle. Does anyone else have this problem? Should I just put a transparent caption on the form, rather than use add text?

    Oh, sorry, I meant CP5-question.

    In CP4, I always used a transparent text on a form caption, did not like the functionality of the text here for different reasons (alignment being one of them), especially since it well will not sink in shape (oval, polygon).

    Lilybiri

  • Alignment of the label fast?

    Hi all

    I want to align the prompt label and the guest in the coast to coast path, as explained in the link below.

    http://obiee101.blogspot.com/2009/04/OBIEE-prompts-putting-label-in-front_18.html

    I was able to achieve. But is it possible to increase the space between the label and the prompt?

    Thank you for your help in advance.

    Thank you
    Knani

    Change what you have this:

    Replace the 15px at some distance you want.

    Hope that's what you're after,

    J

  • Alignment of the label to mobileiconitemrenderer

    I have a custom element rendered for a list in an application to run on android and finds it difficult to get the label ' ' to align in the Center.

    The code is;

    override public function set data(value:Object):void {}

    If (value! = null) { }

    Super.Data = value;

    setStyle("fontSize",18);

    If (value.assigned) { }

    Label = "[ASSIGNED YOU]."

    setStyle ("textAlign", "Center");

    }

    else {

    setStyle ("color", 0xFFFF00);

    Label = "[PRESS TO ACQUIRE]."

    }

    height = 150;

    iconWidth = 75;

    iconHeight = 75;

    iconFunction = getIcon;

    messageFunction = getMessage;

    }

    }

    The colors and the fontsize appear to work well, but the label remains aligned to the left. I also tried to set the alignment in the list that is the owner of the converter.   Any ideas?

    It looks like you use a preview version very soon.  MobileIconItemRenderer has been renamed to IconItemRenderer, and it seems to work for me, the final version of Flex 4.5:

    one

    two

    three

    override public function set data(value:Object):void {}

    Super.Data = value;

    If (! data)

    return;

    If (data == 'two') {}

    setStyle ("'textAlign","Center");

    }

    }

    ]]>

  • Vertical alignment of the label PanelLabelAndMessage

    By default, the left label is centered vertically. Can it be aligned on it? I think it's desirable design for most of the cases.

    Hello

    labelStyle value = "' vertical-align: top" for panelLabelAndMessage. "

    Kind regards

  • Theme 25 - the duplication of form fields

    Apex 4.2 see https://apex.oracle.com/pls/apex/f?p=69432:68

    Very old application, topic 10, upgrade to Version 4.2, theme 25.

    See how the form fields overlap? Why is this? All fields are set to start in a new span of column, Col = 1, column = automatic, alignment of the label = above.

    Firefox 16.0.2 - http://screencast.com/t/7PHtqB4thI

    IE 8 - http://screencast.com/t/Pr3RnSPX IE seems to be worse than Firefox

    I realize that 25 is a brand new, customized, div CSS theme for formatting works quite differently with the early based on tables layouts, any help appreciated.

    Thank you

    >

    Hi Vikas

    Apex 4.2 see https://apex.oracle.com/pls/apex/f?p=69432:68

    Very old application, topic 10, upgrade to Version 4.2, theme 25.

    Abandoning the theme 10 Finally? Or maybe not, how it will ;-)

    See how the form fields overlap? Why is this? All fields are set to start in a new span of column, Col = 1, column = automatic, alignment of the label = above.

    The columns in the grid of the page are too narrow (72px) to account for the width of the items. Change the grid options in the page template to use less/more wide columns or change the attributes of the element for the items cover more than 1 column (put in page 2-column seems OK...)

  • Several languages in the labels (forms 6i)

    Hello

    I have to deal with multiple languages on forms 6i
    Users want to read the labels on a form in the language they have previously chosen.

    So which is the best way to deal with multiple languages in a form?

    Could I change legends label when running? Can I change the values "Display settings" and "Elements of the text, '' but I can change the text labels when running?

    Hello lenox,.

    you want to change the Prompt property of an element? This can be done with

    set_item_property('',PROMPT_TEXT,'');
    

    If the command prompt has no alignment, you will have to compensate the different chain lengths with properties such as

    set_item_property('',PROMPT_EDGE_OFFSET,'');
    

    Developers sometimes use elements graphics text as labels. These cannot be changed during execution.

    Concerning
    Marcus

  • Align to right the label text

    How to make the text inside the right side of the label aligned using c ++

    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    ...
    
    TextStyle rightAlignedStyle(SystemDefaults::TextStyles::bodyText());
    rightAlignedStyle.setTextAlign(TextAlign::Right);
    
    ...
    
    Label *label = Label::create()
            .textStyle(rightAlignedStyle);
    
    or
    
    label->setTextStyle(rightAlignedStyle);
    
  • The label only on the form with FALSE IMPLIED_SHARE [APP]

    Hello guys!

    I am struggling with this and I think I'm missing something and I need help please.

    I've got following members:

    Parent1 (label only)

    Child1 (Store) (+)

    Child2 (Store) (+)

    Child3 (Store) (+)


    I have on my essbase.cfg IMPLIED_SHARE APP1 FAKE and I stopped/started essbase server and application.


    On my data form I rank IDESCENDANTS (Parent1). My problem is that with this setup I am not able to write about the first child in the dataform.


    If I put only the descendants of Parent1 I am able to enter data on the first member.


    Is there a way to have my parents like label only, on the form and still be able to enter data on the first child?  Am I missing something?


    Thank you guys.

    Kind regards

    Eduardo Almeida



    Here is an example:

    If you change the setting IMPLIED_SHARE you need to follow the steps at IMPLIED_SHARE

    Also worth reading through of ' implicit Essbase understanding actions and their effect on the design of form data planning (Doc ID 763285.1).

    See you soon

    John

  • Modify the ADF search form fields labels

    Data control , I drag and drop a few criteria appointed as Panel request ADF with Table. How to change the labels of fields in the search form. The search form shows the same label in the Object View which is not easy to use. for example, the table in Employee. Instead of (Fname) I need to have on the label (name). Notice, I could change the names of fields in the Table , but not in the search form . I use Jdeveloper 11.1.2.3

    To change the component af:query labels, you must change the Text property of the label for the object in view (tab tips UI) attributes

    Dario

  • Align the labels and the lovs in a proper order?

    Hello

    I have 3 panelgroupLayouts plg1 and plg2 plg3 with Halign:center and page layout: horizontal.
    Under each panelgroupLayout an output label and an af:selectOneChoice are here.
    Under plg1; label: empno
    Under plg2; label: employeeName
    Under plg1; label: empadd
    for this reason my lovs and labels are not aligned in the same line vertivally.

    How to organize these all labels and all the socs a vertical in order to make the look n feel neat?

    All suggestions will be really useful?

    Thank you.

    Then put the panelFormLayout inside the panelGroupLayout and set its halign "Center".
    Here is an example.

    
    
    
      
        
        
          
            
              
                
                
              
              
                
              
              
                
                
              
              
                
                
              
            
          
        
      
    
    
  • Where is my form PHP error? Two values of the label are received in an e-mail, but three others are not

    Hello

    I have a form on my web page developing, written by a programmer at the top of the page.

    http://www.collegestudentvoice.com/form/form.php

    Of all the labels, I received emails with attachments.

    Except in the label 'College Sports' I will receive 2 values

    Football and Basketball.

    The three values, I CAN'T receive are:

    ((1) baseball, Softball) 2 and 3) of others.

    It seems to me that php script is written in a dynamic

    and structured way.

    SEND-FORM FILE - START-> > > > > > > > > > > > > > > > >

    <? PHP

    PEAR library includes

    You should have the installed pear lib

    include_once ('Mail.php');

    include_once('Mail/MIME.php');

    Parameters

    $max_allowed_file_size = 10000000; size in KB

    $allowed_extensions is array ("jpg", "jpeg", "gif", "bmp");.

    $upload_folder = "files /';" <-this folder must be writable by the script

    $your_email = ' [email protected] ';//<<-- this day to your email address

    $errors = ";

    If (isset($_POST['submit']))

    {

    //Get the uploaded file information

    $name_of_uploaded_file = basename($_FILES['uploaded_file']['name']).

    //get the file extension

    $type_of_uploaded_file = substr ($name_of_uploaded_file,)

                                                                                          strrpos($name_of_uploaded_file, '.') + 1);

    $size_of_uploaded_file = $_FILES ['uploaded_file'] ['size'] / 1024;

    ///---Do validations.

    if (empty($_POST['name']) |) Empty($_POST['email']))

                {

    $errors. = '\n name and Email are required.';     

                }

    if (IsInjected ($visitor_email))

                {

    $errors. = "\n bad email value!"

                }

    if($size_of_uploaded_file > $max_allowed_file_size)

                {

    $errors. = "\n file size must be less than $max_allowed_file_size";

                }

    / /-Validate file extension.

    $allowed_ext = false;

    for ($i = 0; $i < sizeof ($allowed_extensions); $i ++)

                {

    if (strcasecmp($allowed_extensions[$i],$type_of_uploaded_file) == 0)

                            {

    $allowed_ext = true;                

                            }

                }

    if(!$allowed_ext)

                {

    $errors. is "\n the loaded file only is not supported file type.".

    "Only the following file types are supported:".implode(',',$allowed_extensions); "

                }

    //send email

    if (empty ($errors))

                {

    //copy the temp. file uploaded to the uploads folder

    $path_of_uploaded_file = $upload_folder. $name_of_uploaded_file;

    $tmp_path = $_FILES ['uploaded_file'] ['tmp_name'];

    if (is_uploaded_file ($tmp_path))

                            {

    if (! copy($tmp_path,$path_of_uploaded_file))

                                {

    $errors. = "\n error during the copy of the downloaded file";

                                }

                            }

    //send email

    $name = $_POST ['name'];

    $visitor_email = $_POST ['email'];

    $user_message = $_POST ['message'];

    $to = $your_email;

    $subject = "new submission of form."

    $from = $your_email;

    $text = "a user $name sent you this message: \n $user_message";

    $message = new Mail_mime();

    $message-> setTXTBody ($text);

    $message-> addAttachment ($path_of_uploaded_file);

    $body = $message-> get();

    $extraheaders = array ('From' = > $from, 'Topic' = > $subject, "Reply-To" = > $visitor_email);

    $headers = $message-> headers ($extraheaders);

    $mail = Mail::factory ("mail");

    $mail-> send ($à, $headers, $body);

    //redirection to ' thank you page

    header ('Location: .html thank you ');

                }

    }

    ///////////////////////////Functions/////////////////

    Function to validate against any attempt to electronic fuel injection

    function IsInjected ($str)

    {

    $injections = array ('(\n+)',

                  '(\r+)',

                  '(\t+)',

                  '(%0A+)',.

                  '(% + 0D)',

                  '(% 08 +)',

                  '(% + 09)'

                  );

    $inject = join ('|) (', $injections);

    $inject = "/ $injecter / I";

    if (preg_match ($inject, $str))

        {

    returns true;

      }

    else

        {

    return false;

      }

    }

    ? >

    <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    download < title > file < /title > form

    <! - define some elements of style - >

    < style >

    label, one, body

    {

    are-family: Arial, Helvetica, without serif.

    are-size: 12px;

    }

    < / style >

    <! - a script for vaidating help shape - >

    < script language = "JavaScript" src = "scripts/gen_validatorv31.js" type = "text/javascript" > < / script > "

    < / head >

    < body >

    <? PHP

    If (!) Empty ($Errors))

    {

    echo nl2br ($errors);

    }

    ? >

    < are method = "POST" name = "email_form_with_php".

    action = "<?" PHP echo htmlentities($_SERVER['PHP_SELF']);? ' > ' enctype = "multipart/form-data" >

    < p >

    < label for 'name' = > name: < / label > < br >

    < input type = "text" name = "name" >

    < /p >

    < p >

    < label for = "e-mail address" > Email: < / label > < br >

    < input type = "text" name = "email" >

    < /p >

    < p >

    < label for 'message' = > Message: < / label > < br >

    < textarea = 'message' name > < / textarea >

    < /p >

    < p >

    < label for = "uploaded_file" > select a file to download: < / label > < br >

    < input type = "file" name = "uploaded_file" >

    < /p >

    < input type = "submit" value = "Submit" name = "submit" >

    < / make >

    < script language = "JavaScript" >

    For the validation of the code of

    / / Visit http://www.JavaScript-coder.com/HTML-form/JavaScript-form-validation.p html

    For more information

    var frmvalidator = new Validator ("email_form_with_php");

    frmvalidator.addValidation ("name", "req", "Please enter your name");

    frmvalidator.addValidation ("email", "req", "Please enter your email address");

    frmvalidator.addValidation ("email", "email", "Please enter a valid email address");

    < /script >

    < noscript >

    < small > < a href =' ml http://www.html-Form-Guide.com/email-Form/php-email-Form-Attachment.HT '

    > How to attach the file to email in PHP < /a > article page. < / small >

    < / noscript >

    < / body >

    < / html >

    -END SEND FORM-> > > > > > > > > > > > > > > > > > > > >

    -FORM BEGINNING-> ACTION > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

    <? PHP

    require_once ('recaptchalib.php');

    $privatekey = "6LfwwsISAAAAAAPShkJ6nV3qkgLDHCe2uXj9RTWw";

    $resp = recaptcha_check_answer ($privatekey,

    $_SERVER ['REMOTE_ADDR'],

    $_POST ["recaptcha_challenge_field"],

    $_POST ["recaptcha_response_field"]);

    if (! $resp-> is_valid) {}

    die ("the reCAPTCHA has not been entered correctly. Go back and try again. ».

             "");

      }

    {else}

    include_once ('Mail.php');

    include_once('Mail/MIME.php');

    $errors = ";

    $max_allowed_file_size = 10000000; size in KB

    $allowed_extensions is array ("jpg", "jpeg", "gif", "bmp");.

    $upload_folder = "files /';"

    $name_of_uploaded_file = basename($_FILES['uploaded_file']['name']).

    $type_of_uploaded_file = substr ($name_of_uploaded_file,)

                                                                                          strrpos($name_of_uploaded_file, '.') + 1);

    $size_of_uploaded_file = $_FILES ['uploaded_file'] ['size'] / 1024;

    if($size_of_uploaded_file > $max_allowed_file_size)

                {

    $errors. = "\n file size must be less than $max_allowed_file_size";

                }

    $allowed_ext = false;

    for ($i = 0; $i < sizeof ($allowed_extensions); $i ++)

                {

    if (strcasecmp($allowed_extensions[$i],$type_of_uploaded_file) == 0)

                            {

    $allowed_ext = true;                

                            }

                }

    if(!$allowed_ext)

                {

    $errors. is "\n the loaded file only is not supported file type.".

    "Only the following file types are supported:".implode(',',$allowed_extensions); "

                }

    if (empty ($errors))

                {

    $path_of_uploaded_file = $upload_folder. $name_of_uploaded_file;

    $tmp_path = $_FILES ['uploaded_file'] ['tmp_name'];

    if (is_uploaded_file ($tmp_path))

                            {

    if (! copy($tmp_path,$path_of_uploaded_file))

                                {

    $errors. = "\n error during the copy of the downloaded file";

                                }

                            }

    $Business = Trim (stripslashes($_POST['Business']));

    $ProfessionalSports = Trim (stripslashes($_POST['ProfessionalSports']));

    $Humor101 = Trim (stripslashes($_POST['Humor101']));

    $CollegeSports = Trim (stripslashes($_POST['CollegeSports']));

    $Politics = Trim (stripslashes($_POST['Politics']));

    $EmailToBusiness = $Business. "@collegestudentvoice.net";

    $EmailToProfessionalSports = $ProfessionalSports. "@collegestudentvoice.net";

    $EmailToHumor101 = $Humor101. "" @collegestudentvoice.net ";

    $EmailToCollegeSports = $CollegeSports. "[email protected]"; "

    $EmailToPolitics = $Politics. "@collegestudentvoice.net";

    $EmailTo = "[email protected]"; ""

    $EMailSubject = Trim (stripslashes($_POST['Subject']));

    $First = Trim (stripslashes($_POST['First']));

    $Last = Trim (stripslashes($_POST['Last']));

    $Email = Trim (stripslashes($_POST['Email']));

    $Suggestions = Trim (stripslashes($_POST['Suggestions']));

    $Body = "was filled the following form;

                            $Body. = "\n";

                            $Body .= "-------------------------------------------------------------------- -------------";

                            $Body. = "\n";

                            $Body. = "\n";

    $Body. = ' First name: '; "

                            $Body. = $First;

                            $Body. = "\n";

    $Body. = ' last name: '; "

                            $Body. = $Last;

                            $Body. = "\n";

                            $Body. = "email:";

                            $Body. = $Email;

                            $Body. = "\n";

    $Body. = ' business: '; "

    $Body. = $Business;

                            $Body. = "\n";

    $Body. = "Professional sports: «;»»

    $Body. = $ProfessionalSports;

                            $Body. = "\n";

    $Body. = ' humor 101: '; "

    $Body. = $Humor101;

                            $Body. = "\n";

    $Body. = "College sports: «;»»

    $Body. = $CollegeSports;

                            $Body. = "\n";

    $Body. = ' policy: '; "

    $Body. = $Politics;

                            $Body. = "\n";

    $Body. = ' suggestions: «;»»

    $Body. = $Suggestions;

                            $Body. = "\n";

                            $Body. = "\n";

                            $Body .= "-------------------------------------------------------------------- -------------\n";

    //$Body. = "e-mails sent to:". "." $EmailToBusiness. « / ». $EmailToProfessionalSports. « / ». $EmailToHumor101. « / ». $EmailToCollegeSports. « / ». $EmailToPolitics. « » ;

    $to = "[email protected]"; ""

    $subject = $EMailSubject;

    $from = "[email protected]"; ""

                            $text = "\n $Body";

    $message = new Mail_mime();

    $message-> setTXTBody ($text);

    $message-> addAttachment ($path_of_uploaded_file);

    $body = $message-> get();

    $extraheaders = array ('From' = > $from, 'Topic' = > $subject, "Reply-To" = > $Email);

    $headers = $message-> headers ($extraheaders);

    $mail = Mail::factory ("mail");

    $mail-> send ($à, $headers, $body);

                            If ($Business! = "")

                            {

    $mail-> send (strtolower ($EmailToBusiness), $headers, $body);

                            }

    if ($ProfessionalSports! = "")

                            {

    $mail-> send (strtolower ($EmailToProfessionalSports), $headers, $body);

                            }

                            If ($Humor101! = "")

                            {

    $mail-> send (strtolower ($EmailToHumor101), $headers, $body);

                            }

    if ($CollegeSports! = "")

                            {

    $mail-> send (strtolower ($EmailToCollegeSports), $headers, $body);

                            }

                            If ($Politics! = "")

                            {

    $mail-> send (strtolower ($EmailToPolitics), $headers, $body);

                            }

      }

    print "< meta http-equiv =-"refresh\"content =------"0; " URL = Form.php? suc = y\ "' >"; "

      }

    ? >

    ---------------------------------------------------------------------  END FORMACTION  FILE---

    $Body. = "College sports: «;»»

    I see a space between the College and the sport. Also, make sure that your form fields are named exactly as the names of variables.

  • In the Label alignment Center

    Hello
    I work in flex 4.

    I use a string named str varaible and I stored
    Str = "would become computer literal to alll his things in six months with a computer."

    I want the str variable is divided into San and William. I used to divide the str variable by using the following lines

    if(Str.Length>50)
    {
    San = str.substring (0, str.lastIndexOf ("", 50));
    slithe = str.substring (str.lastIndexOf ("", 50) + 1);
    firstLine();
    Alert.Show (William);
    }
    on the other
    {
    San = str;
    slithe ="";
    firstLine();

    }

    So I want to create labels of words each using these lines


    private void firstLine (): void
    {
    Alert.Show (San);
    var l1:Number = fline.length;
    Alert.Show (L1. ToString());

    myArr = Fline.Split ("");
    myarr1 = slithe. Split("");

    var l1:Number = Number (l);
    = myarr.length inputValue;
    Alert.Show (inputValue.ToString ());
    for (var intLoop:int = 0; intLoop < inputValue; intLoop ++)
    {
    LBL = new Sun;
    LBL.ID = "l" + intLoop;
    LBL. Text = myarr [intLoop];
    LBL1 = new Sun;
    LBL1.ID = "l" + intLoop;
    LBL1. Text = myarr1 [intLoop];

    lbl.addEventListener (MouseEvent.MOUSE_OVER, onLabelOver);
    lbl.addEventListener (MouseEvent.CLICK, onLabelClick);
    lbl.addEventListener (MouseEvent.MOUSE_OUT, onLabelOut);
    lbl.styleName = "hai1";

    LBL1.addEventListener (MouseEvent.MOUSE_OVER, onLabelOver);
    LBL1.addEventListener (MouseEvent.CLICK, onLabelClick);
    LBL1.addEventListener (MouseEvent.MOUSE_OUT, onLabelOut);
    LBL1.styleName = "hai1";

    labelBox.addChild (lbl);
    labelBox1.addChild (lbl1);

    }
    labelBox.styleName = "lblalign";

    }

    After I shared the words Add the words (lbl) in labelBox and labelBox1.
    Here the LabelBox and LabelBox1

    < mx:HBox id = "labelBox" x = "54" y = "263" width = "389" height = "18" color = "#FFFFFF" alpha = "0.40" backgroundColor = "#000101" >
    < / mx:HBox >
    < mx:HBox id = "labelBox1" width = "389" height = "20" color = "#FFFFFF" alpha = "0.40" backgroundColor = "#000000" x = "54" y = "280" >

    < / mx:HBox >


    This is displayed as follows
    Would become computer literal to alll
    its things in six months with a computer

    but my requirement is to align this line towards the Center.

    Would become computer literal to alll
    its things in six months with a computer

    Is this possible.
    If possible ways give me some ideas.

    concerning
    Athi

    Hi Athiroy,

    Specify the properties... horizontalAlign = "center" on HBox, if you want to align the label horizontally Center.

    If you want to vertically align Center... then specify verticalAlign = "middle" for HBox

    horizontalAlign = "center" verticalAlign = "middle" color = "#FFFFFF" alpha = "0.40" backgroundColor = "#000101" >

    Thank you

    Jean Claude

  • Align the label of an af:inputText on TOP

    I want to align the top of the label of a using whithout af:inputText:

    < af:panelFormLayout labelalignment = "top" >

    Is this possible?

    OBS.: In Adf 11g

    Thank you

    I think you should put in a component separate af:outputLabel.
    You can always do a layout our AF: panelGroupLayout-s.

    
    
    
    
    
    
    

    or

    
    
    
    
    
    
    

    Depends on what makes the rest of the page looks like.

    Edited by: Valhery April 25, 2010 06:52

Maybe you are looking for

  • Can never get Apple live event.   Why

    I am able to bring the previous page that should have an arrow start to follow the Apple event live but the start arrow appears on the phone. Not the iMac 2 or 3 iPads.  Why.  ?

  • Satellite Pro U400 - BIOS update gone bad

    Hi all! I've updated the BIOS on my laptop and something was wrong, just not now a computer screen. I went to see the Web for Chris Bios recover.Have over 20 versions, but so far without success. My biggest problem is: I can't save on floppy disk 2 M

  • ICS soak test timing

    Nobody knows, maybe Shaver forums in the impregnation test came out before the release? Calendar should be different for the major OS updates

  • Aspire 572 R7 recovery of backup - USB key?

    Hello I have to ask for confirmation before I buy the USB to back up my recovery. When I backup Acer it tells me I need an external drive at least 32 GB in order to safeguard memorable.  Here's my question, when we buy these USB drives sold as 32 GB,

  • I can't display my images in Camera Raw

    I've updated my bridge, and now I can't look at my pictures when they open in Camera Raw. I get a black screen.Help, please!