What are the causes the space between text controls?

If I have two text controls in a container, why is there a big vertical gap between controls?

And if the second line wraps, why the space becomes more big?

Is it possible to eliminate this unwanted space?

Example:

<? XML version = "1.0" encoding = "utf-8"? "" > < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' xmlns = "" * "creationComplete ="initApp()">"
< mx:Script >
<! [CDATA]

Import mx.containers.Tile;
Import mx.controls.Text;

public function initApp (): void {}
TI: var = new tile Tile();
TI. Height = 90;
TI. Width = 90;
TI.direction = "vertical";
ti.setStyle ("borderStyle", "solid");
ti.setStyle ("cornerRadius", "10");
var ti2:Tile = new Tile();
TI2. Height = 90;
TI2. Width = 90;
TI2.direction = "vertical";
TI2. SetStyle ("borderStyle", "solid");
TI2. SetStyle ("cornerRadius", "10");
var ti3:Tile = new Tile();
Ti3.height = 90;
Ti3.width = 90;
Ti3.direction = "vertical";
Ti3.SetStyle ("borderStyle", "solid");
Ti3.SetStyle ("cornerRadius", "10");
var txt1:Text = new Text();
var txt2:Text = new Text();
var txt12:Text = new Text();
var txt22:Text = new Text();
var txt3:Text = new Text();
txt1. Text = "MOSA∩QUE 1";
txt2. Text = "MOSA∩QUE 2";
txt3. Text = "This shows how many lines of text fits in a tile and fills all rows.";
txt1. SetStyle ("fontWeight", "bold");
txt1. SetStyle ("textAlign", "Center");
txt2. SetStyle ("fontWeight", "bold");
txt2. SetStyle ("textAlign", "Center");
txt12. Text = "Hello";
txt22. Text = "Hello to you and yours."
txt1. Width = 85;
txt2. Width = 85;
txt12. Width = 85;
txt22. Width = 85;
txt3. Width = 85;
txt12. SetStyle ("textAlign", "Center");
txt22. SetStyle ("textAlign", "Center");
ti.addChild (txt1);
ti.addChild (txt12);
TI2. AddChild (txt2);
TI2. AddChild (txt22);
Ti3.addChild (txt3);
pan.addChild (it);
pan.addChild (ti2);
pan.addChild (ti3);
}

[]] >
< / mx:Script >

< mx:Panel id = "pan" width = "450" height = "300" layout = "horizontal" / >
< / mx:Application >

Doug

You have no specific reason to encourage a Tile on the VBox container container?

Tile container can have some illogical error in her routine of page layout, no doubt, but to track this, a further review of the source code of the Tile container is required.

So far, I've never counted on container Tile in my projects, so I'm not an expert in the use of tile containers, sorry.

Tags: Flex

Similar Questions

  • What are the differences between TNT5002 and TNT5004

    Hello

    I am the design of an interface card that will include two controllers GPIB (TNT5002) who will work on PCIe via PEX8112 (PCIe to PCI bridge) and have several questions on the forum:

    1. I use TNT5004 on their advice, but only offer tnt5002 purchase, what are the differences between them?
    2. Are there other relevant chips best suited to implement PCIe two interface GPIB?

    Danny

    The technical reference manual can be found here:

    http://www.NI.com/PDF/manuals/370595b.PDF

    I wasn't able to find reference material for this chip models. If there is, it's probably only for the GPIB to PCI.

  • What are the differences between the services and site domain group policy and group policy?

    What are the differences between the services and site domain group policy and group policy?

    Server must wonder about the Technet site.  http://social.technet.Microsoft.com/forums/en-us/home

  • HOW smart card smart card slots look like? What are the differences between smart card slots and cards express?

    HOW smart card smart card slots look like? What are the differences between smart card slots and cards express?

    Hi Smitty,

    Yes, so ExpressCard is an interface that has a USB port to this topic where I can plug in external devices to be attached to my computer right? I did a search on google but could not find photo Card Slot smart. I need a picture to get an idea of how look like a smart card Slot.

    Next time try BING...

    http://tinyurl.com/95rgwxw
    http://tinyurl.com/9plc7zt

    http://tinyurl.com/8h96qsr

    Scroll to the left view (image 5)

    http://support.Dell.com/support/eDOCS/systems/latd610/en/ug_en/about.htm

  • What are the differences between RT and Win 8 Pro?

    RT

    What are the differences between RT and Win 8 Pro?

    Windows 8 - this runs on processors traditional x 86 - x 64 for Intel and AMD, and the same apps that runs on Windows 7, Vista, and Windows XP.

    Windows RT - built on the same basis as Windows 8, it works on a different processor called ARM and not running programs in Windows 7, Vista, or Windows XP. In addition, it comes with Microsoft Office 2013 while Windows 8 does not work. It only comes on the new devices, in contrast to Windows 8 you can buy a license for an existing computer.

  • What are the differences between pga memory max session and pga session in memory?

    Hi all

    What are the differences between pga memory max session and pga session in memory?

    SELECT s.sid, n.name, s.value FROM v$ sesstat s, v$ statname n

    WHERE s.statistic # = n.statistic #.

    AND n.name = 'pga session in memory. "

    SELECT s.sid, n.name, s.value FROM v$ sesstat s, v$ statname n

    WHERE s.statistic # = n.statistic #.

    AND n.name = 'pga memory max session ";



    Note that I have read the documentation. However, it is not clearly explained.


    Thank you

    John Stegeman wrote:

    I agree with the comments of the Ed, NightWing.

    You do not have a story to ask questions that are clearly answered in the documentation.

    Mind your own business. If you answer the question, so answer! Otherwise, please stop the thread engrossing.

  • What are the relationships between the logging and IKM?

    What is the best method to use in the following scenario:
    I have about 20 tables with the large amount of data sources.
    I need to create interfaces that join the source tables in target tables.
    The tables are inserted every few seconds with about hundreds of thousands lines.
    There may be a gap of a few seconds between the insertion of different tables that could be attached.
    The source and target tables are on the same Oracle instance and schema.
    I want to understand the role of: 'Logging CDC' and "IKM - incremental" and
    How can I use it in my script?
    In general, what are the relationships between "Logging" and 'IKM '?
    Use both? Or maybe it's better deelte and insert the target tables?

    I want to understand what is the role of "Logging CDC"?
    Can 'IKM - incremental' work without "logging"?
    Must 'Logging' have PK on the tables?
    What should I do if I can't say PK (there may be several identical lines)?

    Yael thanks in advance

    user604062 wrote:
    Hello
    Thanks for your quick response!

    No probs - its still fresh in memory I did a major project on this topic last year (400 tables, millions of lines per day (inserts, updates, deletes), sup-5 minute latency). The problem is it isn't that well written on the web, that you have read the blog of the example I linked to in my first answer? See also here: http://odiexperts.com/changed-data-capture-cdc/

    Always on logging:
    My source table is inserted all the time.
    The interface to join the source table in the target table.

    In ODI, the correct term would be your source table "fits" in the table target, unless you mean literally that want to join the the source with the taget table table? My question if you want to do with the result of the join?

    What exactly the "journaling" CDC updates?
    It updates the model of ODI? interfaces? The source of data in the model of ODI? The target table?

    Logging CDC configures and deploys the data capture mechanism (Triggers or log based capture, IE Logminer/streams/Goldengate) - it is not updated the model as such, she pointed out the metadata of the model of ODI repositoty as a CDC data store, allowing you, the developer say ODI to use log data if you wish (reported in the interface) There is no change in the target table, you get an indicator of metadata (IND_UPD) against a line during the integration (in C$ and I have tables$) that tells you if its insertion (I) and update (U) or deletion (D). It had ' lines allow you to synchronize the deletions, but yoy say its inserts only then you probably used use this option. "
    So the only changes are the source table to your interface, another diary data (if you use logging) or the table of the actual source (if not using the logging).

    This is the main thing that I don't understand!

    I hope I made a little clearer.

    Try the following as a quick test:

    Reverse a source table an engineer and the target (at least) table.
    Import the update incremental LKM and IKM.
    Import of the JKM you want to use.

    Create an interface between the source and the target without any deployed JKM.
    Configure the options of JKM on the model, the "Start log" to start the process of capture - this is quite a complex stage and a lot of things to understand what is happening in the source database, better to check code ODI sends to the database and to review the documentation of Oracle database for a description of what his weight (instantiate Tables (, sets of creating change, creation of subscribers etc. establishment of newspaper groups, creating views Journalising etc.) -you will need to consult your Source DBA database initially as ODI wants to make many changes to the source DB (in mode Archivelog process max, parallelism, size, Java etc.)

    Now, edit your interface and mark the table source for use "Journalized data bank.
    Restart your interface
    Compare the difference in the generated code in the journal of the operator, see the differences of the operator.

    >

    Thank you, Yael

  • What are the differences between BSE 10 g and 10g of OSB

    Hello

    I am newbie to OSB 10 g. I installed OSB 10 g.

    I got to know after its acquisition by Oracle BEA, the ALSB is renamed to OSB.

    I'm curious to know what are the differences between BSE and OSB panels.

    If there are a lot of differences, thanks for posting links that provide the information required in detail.

    Thanks in advance.

    Kind regards
    Udaya

    Hi Marion,.

    BSE and OSB are two different products for the provision of the capacity of the bus service (Routing and transformation)

    I got to know after its acquisition by Oracle BEA, the ALSB is renamed to OSB.

    Yes. Prior to the acquisition of BEA, Oracle used OESB (Oracle Enterprise Service Bus) like a bus service, but after Oracle renamed ALSB (Aqualogic Service Bus) in OSB and started to help her. SOD below should help you understand-

    http://www.Oracle.com/technology/products/integration/service-bus/docs/Oracle-service-bus-sod.PDF

    Some links that you would like to see-

    http://Biemond.blogspot.com/2009/06/OSB-ESB-performance-comparison.html
    http://orasoa.blogspot.com/2008/11/who-is-best-OSB-or-ESB.html
    http://www.Scribd.com/doc/23622536/Oracle-SOA-Suite-11g-mediator-vs-Oracle-service-bus-OSB

    Kind regards
    Anuj

  • What are the relationship between JPA and Hibernate, JPA and TopLink?

    What are the relationship between JPA and Hibernate, JPA and TopLink?
    Can APP instead of Hibernate and TopLink?

    The Java Persistence API (JPA) is the persistence of mapping relational object
    standard for Java. Hibernate and TopLink provide a Java Open source object-relational mapping framework.
    They provide an implementation for the Java Persistence API. In my opinion, Hibernate and TopLink support JPA
    and they can also be seen as complementary to APP.

    We will wait to see the opinions of the other person.

  • What are the differences between Windows 7 and Windows 8?

    What are the new features coming in windows 8? How is - this windows 8 is going to be better than winows 7? What are the main differences between winows 7 and winows 8? It'll be a mojor design?

    Hello

    Microsoft has not released any details about 8. All the information I've seen on the internet about 8
    were conjecture or an outing right hoax.

  • What are the differences between Windows XP Home Edition and Windows XP Pro?

    What are the benefits of Windows XP Pro on Windows XP?

    Tuesday, December 14, 2010 22:24:33 + 0000, Dave1939 wrote:
     
    > What are the advantages of Windows XP Pro on Windows XP?
     
     
    First of all, note that it is not Windows XP Pro and Windows XP, there
    Windows XP Pro vs Windows XP Home Edition.
     
    XP Home and Professional are identical except that professional
    includes a few features (primarily related to security and networking)
    away from home? Most individuals need not and would never use
    These extra features and will see no benefit from the upgrade.
    For details, go to
     
     
     
     
    Also note another point, not included in one of the foregoing:
    Professional only allows ten simultaneous network connections and home
    5.
     
     

    Ken Blake (MS-MVP)

  • Adjust the space between text blocks

    Dear Indesign users,

    I am new to InDesign and need help with the following:

    I have about 20 pages each with two blocks of text. The angles of the text boxes are all set differently, but I need even spacing. Is it possible to assign a certain spacing between them.

    InDesign.png

    I tried with guides, but to my knowledge, you can not adjust the angle of the guides.

    Thanks for your help.

    Ferdinand

    Meanwhile, you could always temporarily add a rule below the text in the text frame at the top. Define the offset on exactly the space you need; so you have a visual guide.

    If you change the paragraph style (you have used paragraph styles, haven't you?) simply "allow" only once. then reposition your boxes; Finally, remove the line again.

  • What are the differences between the application and Validation?

    Hi there;

    These two concept has been explained in the link here: https://docs.oracle.com/cd/B19306_01/server.102/b14223/constra.htm
    I want to learn the difference between ACTIVATE and VALIDATE. Suppose I have a person table. There is a salary (int), name (nvarchar), country (nvarchar), family name (nvarchar) and date of birth (datetime) column. There are a few lines that the pay is less. If I create a constraint that the salary must be zero, what happens if it is activated or validated?

    Thanks in advance.

    read this: https://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses002.htm

  • What are the differences between the office building and office wants?

    could I have information on the difference between Desktop Pavilion and envy of office?

    Thaks a lot!

    DierreMax, welcome to the forum.

    If you supply a model number for the Pavilion and envy, I'll tell you the difference.  Normally, the envy is a model newer than the Pavilion.  In addition, the Pavilion models are cheaper models Envy.

  • How to reduce the space between text and Image

    I am trying to wrap text around an irregular shape in InDesign CS4. I used the pen tool to mark the outlines of the image, crop the image, then selected the outline of the pen and pasted the image into the outline. With parameters defined for the TextWrap is in this dialog box, text wrapping seems in good shape on the right side, but he has too much space on the left side.

    textwrap0.png

    If I try to reduce the space even further away, it is only on the right side of the image, not the left:

    textwrap1.png

    It's the same thing for all my irregular images where I try to wrap the text. How can I reduce the white space to the left of the picture?

    You can use direct selection and the pen tool to change the skin path in repositioning of anchor points and guidelines and adding more anchorpoints etc. In this way, you can move the path of the scarf to the inside a little more to allow the best fit of the text.  To lock breaks in a bit more on a line-by-line, take into account settings composer to composer Adobe single-line (Control Panel menu)

    You can also try to allow hyphenation. With the text aligned to the box on the left will always left a little look gappy I think. However allowing hyphenation will get InDesign to cut the breakpoint to the left of the object with the text, as well as at the end of the line wrapping.

    Also if you change the alignment for Justified, you will also get a better result.

    On a related side note, I had usually advice my trainees do not to wrap the text on the left and right sides, when the object with the scarf is placed in the middle of a sentence. It makes reading more difficult phrases.

    Hope this helps,

    CARI

    --

    Twitter.com/carijansen

Maybe you are looking for