How to set custom size of Close Button e.g. 32x32  of Title Window in Flex 4

How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4?

Hi
Here is the code of the Button in the skin class of spark title window.
<s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
                          width="15" height="15" right="7" top="7" />
So first change the default height and width from 15 to 32. Then in the Button Skin class i.e. spark.skins.spark.TitleWindowCloseButtonSkin change paths to modify the cross symbol.
Hope this helps
Rush-me

Similar Messages

  • CR 2008 SDK: how to set custom paper size?

    Dear forum users, I'm trying to use Crystal Reports 2008 SDK to print barcode labels to a Datamax Printer.
    The printer uses a custom page size. Can anyone tell me how to set custom page size and margins using C# and CR2008 SDK?
    Best regards
    Alessandro

    I'm experiencing this problem: I need to print barcode labels which are 4 x 9 cm each (a custom paper size). The report has been build correctly, orientation is right but when I print the labels programmatically by an application I made the label gets printed in a wrong way.
    In particular, orientation and paper size are not correct.
    So I would like to try to force both of them (both the orientation and the custom paper size). How can I do that?
    Best regards
    Alessandro

  • How can I disable Minimize, Restore & Close buttons of MDI window?

    I'm using Forms6i on Windows XP
    How can I disable Minimize, Restore & Close buttons of MDI window?
    An urgent reply would be apprecaited.
    MURUGESAN.T

    in windows property
    list of this
    close allowed
    move "
    resize "
    maximize "
    minimize "
    all to set "no"

  • How to set custom font family in qml label in black berry 10 os

    how to set custom font family in label text  qml in black berry 10 OS

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.?
    File path is
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
    Thanks in advance

    Hi,
    You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
    <%@ Page language="C#" MasterPageFile="~masterurl/custom.master"      Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    %>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to set the size of a JTabbedane to the size of the frame

    I have a tabbed pane in a frame, I would like to know how to set the size of the tabbed pane, so that it occupies the whole of the frame which has been set to screen size.
    Thanks

    Is it not possible to use it with a GridBagLayout?Your question was "How do I get a tabbed pane to take all the space of the frame"?
    You where given the answer. Did you try it? Did it work? Then why are you questioning the suggestion?
    Its one line of code if you use a BorderLayout which by the way was specifically designed for this purpose.
    Yes you can do it with a GridBagLayout with about 5 lines of code.
    So the question is why would you want to write 5 lines of code when you can use one?
    If your question was "How do I waste my time forcing the GridBagLayout to size a component to take up all the space of the frame", then you would have received a different answer. (Although most people would have told you to use a BorderLayout anyway, since its easier).

  • How to set display size of a Region or Dynamic Region?

    Hi,experts,
    In jdev 11.1.2.3,
    I drag and drop a task-flow into a jsf page to create a Region,
    and set display size for the region, source code as:
    ===================
    <f:facet name="second">
    <af:decorativeBox theme="medium" id="db1">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl1"
    inlineStyle="width:1200px;height:700px;">
    <af:region value="#{bindings.trainflow11.regionModel}" id="r1"
    inlineStyle="width:1200px;height:700px;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    =================
    But, the Region is only showed a small fraction area on the parent jsf page whenever during design or run time.
    How to set display size of a Region or Dynamic Region?
    Thanks!

    Hi,
    the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
    Frank

  • How to set percentage size for layout? for example : VBox,HBox,AnchorPane,.

    how to set percentage size for layout? for example : VBox,HBox,AnchorPane,......
    like HTML
    &lt;div width=&quot;640px&quot; height=&quot;480px&quot;&gt;
    &lt;div widht=&quot;50%&quot; height=&quot;60%&quot;/&gt;
    &lt;div widht=&quot;30%&quot; height=&quot;60%&quot;/&gt;
    &lt;div widht=&quot;20%&quot; height=&quot;60%&quot;/&gt;
    &lt;/div&gt;
    -----

    This is not supported. You can file a feature request at http://javafx-jira.kenai.com

  • How to modify the blob size, or how to set the size?

    i want to know how to modify the blob size, or how to set the size?
    what's the default size of blob?
    Thanks in advance.

    Blob datatype can contain binary data with a maximum size of 4 GB.
    when you enter 10kb file, the database will only use 10kb to store the file (depending on block size etc)
    if you want to modify the blob size, you may do like this:
    SQL> create materialized view t_mv refresh fast on commit
    2 as select id, dbms_lob.getlength(x) len from t;
    Materialized view created.
    SQL> alter table t_mv add constraint t_mv_chk check (len < 100);
    Table altered.

  • How to set Custom HTTP headers in HTTP binding?

    How to set custom HTTP headers before sending the Rest based request in HTTP binding?

    sharon38_74 wrote:
    they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself.

  • Can u tell me how to set the color of the button and its border

    hi to all,can u tell me how to set the color of the button and its border

    There are sample code on the java.sun.com
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/index.html
    try this web page ... There are lots of examples... Good luck ... "Gan en "

  • How to set Queue size in JBoss?

    Hi all,
    I have defined a new queue in JBoss.
    I need to set the size of this queue.
    How to set the size of a queue in jboss?..... Which XML file should be modfied for this?
    Please help me

    Yes You changed session timeout for jmx-console but not your application. I assume You wanted for your app. go: jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml

  • 10.6.6 - How to set custom view options for specific folders

    How is it that Windows has had the ability to ability to set custom folder view options forever and OSX can't. What is the big deal? Just do it. Whenever I set the folder view options it changes the view for all the folders. I can do folder specific changes as long as the finder window is open then I close it and open it again every folder is the same again. It's just an annoyance and it's something so rudimentary it's embarrassing.

    Try the following:
    I want to have, say, one folder in list view
    Open that folder, set it to list view, type command-J, and in the view-options window that opens, check the box at the top for "Always open in list view".
    then the subfolder of that folder I want to have in cover flow view. permanently.
    Open that folder, change it to cover-flow view, and in the view-options window check the box at the top for "Always open in cover-flow."
    Those two folders should "remember" the custom views that were set for them.
    There's additional discussion about the meaning of the"Use as defaults" button in this thread
    http://discussions.apple.com/thread.jspa?messageID=13063792
    My own take is that folders that have not been customized by checking the "Always open in xxx view" box will by default open in the same view (icon vs list vs column, etc) that was in effect for the previously opened folder. *Within each view*, you can set the default parameters (text size, etc) for a new folder by setting up a folder the way you like and then checking the view options box for "Use as defaults" at the bottom.

  • How to set the size of printing subject

    I have a deskjet 3520 all in one and my computer is a laptop dv6 with windows7 prof. 64bit.
    I want to print out PCB traces so that I can make my own but I don't know to how set the size
    with this printer. They take up the whole page when I want them to be 2.35x3.35.
    Don't know if this can be done with this printer.
    Any help would be apreciated.
    This question was solved.
    View Solution.

    Can you post a link to a sample, or upload here a sample?  That would make it easier to debug what is going on.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to set the size of the frame in the decoration controls

    Hi,
    I am drawing some frames or boxes using the patterns in the "Decorations" control in labview.
    Is there other way to set the size of the frames or boxes rather than to drag them? also how can I change the color of the borders?
    Thanks,
    Joyce
    Solved!
    Go to Solution.

    Select the item.  Go to the Resize Objects button on the toolbar.  Pick the last one which shows a resize within a dialog bubble.  Now a dialog pops up which lets you define the height and width.
    To color something, Shift right click to bring up the toolbox.  Pick the paint brush.  Click on the thing you want to change such as the border.  It might now be the wrong color, so right click which brings up the color picker.  Now select the color you actually want.  If you want something to be transparent, pick the T at the upper right corner of the color dialog box.

Maybe you are looking for

  • Does anyone here have a defective mighty mouse?

    I got one, and called apple couple of times not only for the issue, but also for the investigation, they ask me create a new acct, restore the whole system.... finally they replaced it for me... but after couple of days using, just found this one is

  • Download Problem with iPhoto 6.0.4.

    New Mac user here. I have a clean install of OS X, uodated to to 10.4.8. I bought a copy of iLife 06 from Amazon.com and installed it and successfully updated the various programs....except for iPhoto. The version installed is 6.0.1. When I look for

  • Help Installing Photoshop 3.0

    Thanks for reading this...my (shortened) saga... I purchased Adobe Photoshop Elements 3.0 and Adobe Premiere Elements as a combined package back in 2005. (Yes, I know I should get newer software, but I am poor like most of the world is at the moment.

  • Doubts in plant maintenance

    what are the business process in plant maintenance. what are oraganisational level inside sap-pm.

  • Ibook won't function with a a battery in place

    Ibook G4 1.2 on 10.4.11 runs very well until there's a battery put into it! If moved or used, it will then shutdown (well, the machine runs but the display will only display black). If I do a PMU reset and take the battery out and restore mains power