Style of the top border of the HBOX

Hello

Is it possible to set the color of the top border and the color of the top border edge in HBox. If yes give me the code example please.

Kind regards

Roman.

Hello

If you are using Flex 3, set the borderSides [top of page] preoprty. See the following example. It uses a NumericStepper but you can achieve the same with HBox

http://blog.flexexamples.com/2008/05/27/setting-a-border-on-specific-sides-of-a-numericste PPER-control-in-flex /.

If you use Flex 4, check out the post following Cookbook based on counting

http://cookbooks.Adobe.com/post_Applying_skins_to_a_container-17684.html

Tags: Flex

Similar Questions

  • Apply the style at the top of the frame

    Hi all

    I put about 150 pages of continuous text in a Word doc.  The doc is constantly changed and whenever I set it to create a project, there is a different placement of words, which is fine.  The page size is also different in Word and InDesign, I might add.

    There is a B head paragraph style in InDesign that is allowed to occur anywhere.

    The problem is that when the head B occurs in the middle of a text frame, it must have a top rule.  But when it lands on top of a block of text, it cannot have a rule above.  Is there anyway to use GREP or script or something so that InDesign can identify when this style occurs in the upper part of the block of text, and have it use the style without the rule?

    I can't give the present advance in Word as the layout is totally different, once placed in InDesign.  And it's a bit of a pain for all find and adjust by hand whenever there are about 40 of them.

    Thank you very much!

    Sorry about that. This one should work:

    var myOriginalStyle = app.activeDocument.paragraphStyles.item("Body Head A")
    var myFinalStyle = app.activeDocument.paragraphStyles.item("Body Head A No Rule")
    var myStory = app.selection[0].parentStory;
    var myP = myStory.paragraphs.everyItem().getElements();
    for(var j = myP.length -1;j>=0;j--){
        var myTF = myP[j].parentTextFrames[0];
        if(myP[j].appliedParagraphStyle == myOriginalStyle && myTF.paragraphs[0] == myP[j])
        myP[j].appliedParagraphStyle = myFinalStyle
        }
    

    The script will change only the paragraph style, if the paragraph which has "Agency A" applied starts at the beginning of the text block (in other words, not if it has several lines and the first line starts inmiddle of the previous image).

  • Why my header of table in contact with the top border of the table?

    I created a single-celled table that behaves as a title in a quick reference guide.

    The problem is that the header of the ends to the top text against the top border of the table, as shown below.

    I tried to change the cell margins in table designer and by changing the spacing options in the paragraph Designer.

    Or is there a better way than a table to accomplish this topic?

    How can I fix it?

    Cindy

    AdobeForumScreenShot.png

    Cindy,

    Check the paragraph designer to see where in the cell (top, middle or bottom) is specified for the paratag used for the title of the table. In addition, check if there is no positionnelles substitutions for the margins specified in the paratag. It will be take it some parameters specified through the table designer.

  • Insert a table in a mail, how can I change the color/style of the border?

    Hello, I think my question is simple, that I just haven't found how to change the color and style of the borders of a table that I inserted in an e-mail.

    Thanks in advance for your help

    Do exactly as described by guigs2.

    This image will help... see below.

    As before open table properties. Make sure you select 'Table' and then click 'Advanced Edit' button

    In HTML tab attributes

    • Type "bordercolor" in the "attribute".
    • in value, you can use the word for example: blue or type a string for example HTML color: #3333ff
    • Click OK to close the advanced properties editor
    • Click 'Apply' to see color.
    • Click OK to close the properties of the table.

    If you don't know HTML color string, you can find some here.
    In a normal write the message, click on the text color icon to open a small window of text color. When you select the color, it will show you the html string of the color, which must be the hash tag # before letters them and numbers.

  • In Photoshop CC2015-how I automatically apply a style to the shape layer that I draw?

    HI -.

    I work in an office with a few different versions of Photoshop on Windows 10.

    On my CS5 PSD I can draw some shape layers, like arrows and have all the styles applied automatically style palette that I draw.

    But the fellow with PSD CC 2015 workers need to use 2 markets - draw shape layer and then select the style in the style palette.  None of the settings on the top of the screen seem to allow us to apply the style we attract.

    Is there a hidden area or a preference?

    The automatic application of a style has been removed from Photoshop?

    TIA your answer.

    J2

    This is not possible with the latest Photoshop shape tool. If you want that it is a characteristic shape tool like Photoshop old tool form the best you can do is submit an idea on the Adobe site comments but you hold no breath hoping Adobe will implement your idea.  If you want this feature you will now need to regress to an older version of Photoshop as CS2. This is the version of Photoshop, I used for my second screenshot, Photoshop community customer family

  • Apply the style to the submenu in Muse

    How can I request a style for the submenus when I create new elements in the planning window that I don't need to open the menu and click on each tab simple so I just newly created to change the style settings?

    This takes too long to change individual.

    I see what you mean. I just tried it myself. It seems to be good if you add a new top-level page, then he loses the formatting. Looks like a bug to me.

    Regarding the menu dead point goes, I think you'll need to use the item without hyperlink option. However, you can do this, even if the page is defined not to be exported, so he doesn't have to download null pages. He's not big, but it's better than nothing,

    David

  • I created a form with fields default text for a user to update/customize.  Is there a way to style of the text, so I can quickly identify the changes to the default text in a field?

    I created a form with fields default text for a user to update/customize.  Is there a way to style of the text, so I can quickly identify the changes to the default text in a field?

    You can use a validation script customized to each text field that looks like:

    event.target.textFont = event.value = event.target.defaultValue? font. HelvI: fonts. Helv;

    This will make the text italic (Helvetica) when the field value is the value default and regular otherwise. There are other properties that you can use instead, as the field color, border width, background color, text or text size...

  • Change the color and style of the chips

    Nice day. I know this may seem like a stupid question, but I need help to change the color and style of the points in Captivate 5.5. How do I do that?

    Thank you

    No, but you can insert a picture or a symbol in a separate legend (or rectangle / other object drawn) on the top of the text caption.

    Just out of curiosity, because it is a new version of the Forum and I have a strange behavior: you you yourself mark the original question and your second question as "useful answer? This seems very strange, the fact that you can mark your own question as a 'useful response', totally unexpected.

    Lilybiri

  • Change the style of the page on mobile

    I can't find any option in the mobile version of Firefox to change the page style. (On the version of the computer, the page style can be changed in the menu bar, which is not on the mobile version)

    Hi RDSP,.
    Currently, there is not a way to change the page style in the mobile version. The customization options are available in the settings Menu. You can also find themes in the store of the addon from the tools > Addons menu.

  • Why Apple can't do two systems? First of all, we are protected, and the other is free just like android, but in the style of the iOS and Apple needs a request so we can manage and see new products from an application and do not go on this site!

    Why Apple can't do two systems? First of all, we are protected, and the other is free just like android, but in the style of the iOS and Apple needs a request so we can manage and see new products from an application and do not go on this site!

    and I don't know that if Apple make a system more freely, there no need for any device on Earth but iPhone.

    http://www.Apple.com/feedback/

  • How to change the style of the text of segmentedControl

    Hi all

    Is there a way to change the style of the text in a segmented control?

    The control works perfectly but the texts are so big and I can't change the fontSize of them.

    Someone at - it already do this?

    Thank you

    Because we can not style more standard controls of waterfalls, you can do this without re - implement the entire control, at least for now.

  • Cannot add an object style to the library directly

    I can't add an object style from by dragging a style object to an indesign Library palette. Is this normal?

    That is to say, to add an object style to the library, I have to drag an object that has this particular style of my my indesign library. Right?

    Yes, it's true. Failed to add to a library of object Styles, but adding an object.

    Add any object adds an object Style, Object Styles depending on the occasion, used the paragraph and character and the name Layer Styles Styles.

  • using an object style before the placement of the image

    I want to place 20 images using an object style in which I have a black 3point outline for all images. How can I do? I have to manually apply an object style to the images after that that they have been placed.

    As far as I know, it always works to place WITHOUT pre-existing framework: http://indesignsecrets.com/applying-an-object-style-when-placing-an-image.php

    If you want to do some sort of pre-existing images, you use the rectangle tool instead of the frame tool.

  • Apply to a Style object that defines the style of paragraph and 'paragraph style' to the text block with another block of text?

    I am trying to automate the application of styles in a brochure. Each image has a name, title, telephone, email, city... style paragraph.

    Can I apply an object style that instantly sets the styles of each paragraph. However if I have the linked text boxes, the style of the object does not seem to affect the block of text, or one of the text boxes. Is there a way to get around this?

    I just looked upward: this feature is limited to "simple, smooth text frames."

    I'm sorry.

  • Save Styles in the first 14 elements

    Hi,  I have been using Adobe first Elements 9 for 5 years now. I've downloaded a trial version of the first items 14 Elements 9 I understand how to record Heading Styles, i.e. - types of fonts, font sizes, colors of fonts for a repeated on different videos use. I can't understand how to do this using adobe and 14 is just a nightmare. Can you help me?

    billcpv

    1. text Menu/new text/Default Text... Create the title of your text in the text of titration Section... Select the text.

    2. go in the Styles Section of the titration module and right-click on one of the Adobe Styles, select and click on save the Style in the drop-down menu that appears. In the Save Style dialog box results, name the new style... I chose my special Style. OK to get out of there. This special My Style will be placed down the Adobe Styles in the Styles Section of the module of titration. The user created Style will look like the screenshot below

    If you want to make My special Style the Style by default, right click on its thumbnail in the Styles Section of the titration module and select

    Set the default Style.

    Please consider and then let us know if this worked for you.

    Any questions, feel free to ask. I would say that you close reopen the module titration after going through this routine to check your success.

    RTA

Maybe you are looking for

  • Date page does not appear first drop the bar down

    Just downloaded the new ios and found that the Notification Center page appears first when you use the new bar drop down. I have to keep pulling down then drag to the right to display date apps, weather, news, etc. How can I configure it so that I ca

  • Cannot access iCloud account

    The icloud Web site does not open, so I can't go to my email. This just started happening.

  • My Firefox deleted my account when I reinstalled Firefox.

    So I had problems with Firefox and the first problem was when I clicked on my homepage, it redirected to a different site each time that I changed it to my homepage of YouTube or any other site. Another problem is, that my tabs recently never appeare

  • Time Machine icon?

    Just updated to Cape, 10.11.5. I had the time Machine is turned off for the update process, wanted to make sure that everything was OK before Relighting. Well Yes, things seem to be working, then I reactivated TM. Even waited to make a backup... OK,

  • Satellite A660 - Power button after

    For awhile, my laptop was power in, on and off, without any interaction. I think that it is a faulty power button. The button is extremely sensitive and will be able to even if you press the surrounding Panel. My question has anyone experience this p