How to increase width but maintain x, y coords.

I'm trying to increase the width of a rectangle, but don't
want to scale the rectangle or change the x,y base. How show I go
about this.

"SiHoop" <[email protected]> wrote in
message
news:gl5jq2$imk$[email protected]..
> I'm trying to increase the width of a rectangle, but
don't want to scale
> the
> rectangle or change the x,y base. How show I go about
this.
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
> creationComplete="init()"
> layout="absolute">
> <mx:UIComponent id="mainDisplay"/>
> <mx:Script>
> <![CDATA[
> private var goalBox:Shape = new Shape();
> public function init():void{
> goalBox.graphics.lineStyle(1, 0xff0000);
> goalBox.graphics.beginFill(0xff0000);
> goalBox.graphics.drawRect(115, 90, 200, 1);
> mainDisplay.addChild(goalBox)
> }
> public function clicked():void{
> goalBox.width+=300
> }
> ]]>
> </mx:Script>
> <mx:Button click="clicked()"/>
> </mx:Application>
You'd call graphics.clear() and then draw it again at the new
size, but the
same x and y coordinates.

Similar Messages

  • How to increase width of canvas in xcelsius?

    How to increase width of canvas in xcelsius?

    Hi
    The simplest way is to go to File > Document Properties> Document and check Custome Size.  You will then be able to set the width and height in pixels.
    Alternatively if you want to widen the canvas as your components already go over the edge you can use the Fit Canvas to Components icon on the toolbar along the top.
    Hope this helps.
    Paul

  • How to increase width of LOV popup

    I would like to increase width of LOV popup in my ui. I found one suggestion to use skin to change the LOV display property and would like to know if there is any other default framework support to increase LOV size declaritively. Appreciate your responses.
    BTW I am using ADF version 11.1.1.6
    thanks.

    Thanks Timo. Yes I would like to increase the size of af:inputListOfValues popup displayed when clicked on the torch icon. But since I have all the LOVs already coded I would like to find a way to increase just the display width as the LOV popup doesn't expand completely and the user has to scroll to view the details displayed in the LOV popup.

  • How to increase width of a list in SharePoint Designer 2013?

    Hello,
    I was surprised when i got a message on clicking Edit List on SharePoint saying that i need to upgrade SPD to match the SharePoint. So i started downloading the 2013 version and installed it. I was shocked noticing that there is no Design view in SPD 2013.
    I was able to edit the with of the columns in SPD 2010 with the help of solution provided in the below link.
    http://aanuwizard.com/2010/08/01/sharepoint-2010-how-to-change-width-of-list-column/
    But where is the Design view in SPD 2013? I searched the whole forum before posting this question here. It says that it does not exist. OK i got it, but what is the solution??
    Can anyone please help me by providing a solution to edit the width of the columns in the list.
    Regards,
    SAN
    Santhiya

    Dear Dhiraj,
    Thank you for your solution, but sorry to say i do not understand few things.
    1. "first select the webpart in the designer then click on design  menu" - I think SPD 2013 do not have a design view. So where do i have to click? There is only a code view i can see in the SPD. Please first help me with this.
    Below is the code which i get when i click on AllItems.aspx. Any idea what changes to be done, where?
    <%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document"  %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
        <SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> -
        <SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
        <SharePoint:ListProperty Property="TitleBreadcrumb" runat="server"/>
        <SharePoint:UIVersionedContent UIVersion="4" runat="server">
            <ContentTemplate>
                <span class="ms-ltviewselectormenuheader" runat="server">
                    <SharePoint:ListTitleViewSelectorMenu AlignToParent="true" id="LTViewSelectorMenu" runat="server" />
                </span>
            </ContentTemplate>
        </SharePoint:UIVersionedContent>
    </asp:Content>
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
        <SharePoint:RssLink runat="server"/>
    </asp:content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
        <SharePoint:ViewIcon Width="145" Height="54" runat="server"/></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
    <SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
    <SharePoint:ModifySettingsLink runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
        <div height="100%" class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width='6' height='1' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
            <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
            <WebPartPages:XsltListViewWebPart runat="server" ViewFlag="" ViewSelectorFetchAsync="False" InplaceSearchEnabled="True" ServerRender="False" ClientRender="False" InitialAsyncDataFetch="False" WebId="00000000-0000-0000-0000-000000000000"
    IsClientRender="False" GhostedXslLink="main.xsl" NoDefaultStyle="" ViewGuid="{DC99EFD7-F866-45BD-81AB-2E6457135A31}" EnableOriginalValue="False" DisplayName="All Active Projects" ViewContentTypeId="0x" Default="TRUE" ListUrl="" ListDisplayName="" ListName="{B19C0A66-FF3D-4E53-B9E5-5AE1C301270D}"
    ListId="b19c0a66-ff3d-4e53-b9e5-5ae1c301270d" PageType="PAGE_DEFAULTVIEW" PageSize="-1" UseSQLDataSourcePaging="True" DataSourceID="" ShowWithSampleData="False" AsyncRefresh="False" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" Title="PDPL-Dervasil"
    FrameType="Default" SuppressWebPartChrome="False" Description="" IsIncluded="True" PartOrder="2" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True" AllowHide="True" IsVisible="True" TitleUrl="/DasAerien/Lists/PDPL 
    Dervasil" DetailLink="/DasAerien/Lists/PDPL  Dervasil" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="Cannot import this Web Part." PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="False" ConnectionID="00000000-0000-0000-0000-000000000000"
    ID="g_dc99efd7_f866_45bd_81ab_2e6457135a31" __MarkupType="vsattributemarkup" __WebPartId="{DC99EFD7-F866-45BD-81AB-2E6457135A31}" __AllowXSLTEditing="true" __designer:CustomXsl="Fldtypes_mswhTitle.xsl;fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><ParameterBindings>
                <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
                <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
                <ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
                <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
                <ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
                <ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
                <ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
                <ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
                <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
                <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
            </ParameterBindings>
    <DataFields>
    </DataFields>
    <XmlDefinition>
                <View Name="{DC99EFD7-F866-45BD-81AB-2E6457135A31}" DefaultView="TRUE" Type="HTML" DisplayName="All Active Projects" Url="/DasAerien/Lists/PDPL  Dervasil/AllActiveProjects.aspx" Level="1" BaseViewID="1"
    ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png" >
                    <Query>
                        <GroupBy Collapse="FALSE" GroupLimit="100">
                            <FieldRef Name="Segment"/>
                        </GroupBy>
                        <OrderBy>
                            <FieldRef Name="Segment"/>
                            <FieldRef Name="Phs" Ascending="FALSE"/>
                        </OrderBy>
                        <Where>
                            <And>
                                <And>
                                    <And>
                                        <Neq>
                                            <FieldRef Name="Phs"/>
                                            <Value Type="Text">-2</Value>
                                        </Neq>
                                        <Neq>
                                            <FieldRef Name="Phs"/>
                                            <Value Type="Text">-1</Value>
                                        </Neq>
                                    </And>
                                    <Neq>
                                        <FieldRef Name="Phs"/>
                                        <Value Type="Text">5</Value>
                                    </Neq>
                                </And>
                                <Geq>
                                    <FieldRef Name="Phs"/>
                                    <Value Type="Text">0</Value>
                                </Geq>
                            </And>
                        </Where>
                    </Query>
                    <ViewFields>
                        <FieldRef Name="Attachments"/>
                        <FieldRef Name="LinkTitle"/>
                        <FieldRef Name="Name"/>
                        <FieldRef Name="Markets"/>
                        <FieldRef Name="Description"/>
                        <FieldRef Name="SalesTarget"/>
                        <FieldRef Name="CostRedTrgt"/>
                        <FieldRef Name="_x0025_Cannibalization"/>
                        <FieldRef Name="Invest"/>
                        <FieldRef Name="ExtDevCost"/>
                        <FieldRef Name="Phs"/>
                        <FieldRef Name="Priority"/>
                        <FieldRef Name="PrjctType"/>
                        <FieldRef Name="Cmplx"/>
                        <FieldRef Name="EstEndPh3"/>
                        <FieldRef Name="Re_x002d_EstEndPh3"/>
                        <FieldRef Name="Status"/>
                        <FieldRef Name="Link"/>
                        <FieldRef Name="PrjctMgr"/>
                        <FieldRef Name="Modified"/>
                    </ViewFields>
                    <RowLimit Paged="TRUE">100</RowLimit>
                    <Aggregations Value="Off"/>
                    <XslLink Default="TRUE">main.xsl</XslLink>
                    <Toolbar Type="Standard"/>
                </View>
            </XmlDefinition>
    </WebPartPages:XsltListViewWebPart>
    </ZoneTemplate></WebPartPages:WebPartZone>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
    <style type="text/css">
    .ms-bodyareaframe {
        padding: 0px;
    </style>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
    <SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
        <SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
      <ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
    </asp:Content>
    Santhiya

  • How to Increase width of heading in search help list?

    Hi..all..
    I have created a search help exit with 7 fields in the output list.
    When I view the search help in the webdynpro screen, iam
    not able to view the result fully.,ie. the results are crumbled. the headings and data
    are not displayed fully.
    For eg:
    For DIVISION(Field - SPART) it displays heading as 'DI'.
    But, I have maintained 'Short,long and medium text  as DIVISION.
    The output list, tries to accomodate all the 7 fields, so as result, datas as well as
    headings are crumbled together. I am not able to drag the headings, as we do in normal R/3.
    This problem does not come, when we try to display limited fields in list output. say, if
    I display 3 to 4 fields, it displays full data with headings properly.
    So How can i increase the heading length,.
    Is there any lenth restriction for field display in F4 help result list?
    Need your valuable inputs.
    regards,
    Padma

    SPART field refers to actual division value in SAP r/3. For ex: in a sales area my division is '00' which is of two characters. Try changing your Actual value to some character type and see.

  • How to increase width of comment pane in Acrobat X

    In Acrobat 9 the comment pane showed up at bottom of the page and it spread across the whole width of the page and could be as high as you wanted it to be. This made reading my comments easy.
    But in Acrobat X the comment pane can not  expand its width, this is not very useful and it is hard to search notes by scanning them.
    How to expand the comment pane? I would prefer to change its location as well.

    You can't change the width of the panel, but you can undock the Comments
    List section (at least you can in Acrobat XI, I'm not sure about X), via
    the Options button in it.

  • How to increase width of the complex table column in Agentry?

    I am using Agentry 6.0.38.1 client and Smart service manager 3.0 and Agentry 6.0.32 plugin, developing for Android client
    I increased no of characters for that complex table column in Agentry editor still its width is same in Android device.
    How can I increase the displayed width so that values in that column will not truncate?
    Tags edited by: Michael Appleby

    Hi Merten,
    I'm using Agentry Android client v6.1.4.179 (latest one). In Work Manager Add Component screen, Plant and Item ID fields's edit type is Complex table drop down and Complex table search respectively.
    Now we have requirement to fixed Column Width of this fields. Kindly let me know if there is any way to fix this. if than how?
    Thanks-
    Dipak Jotaneeya

  • Does not allow to increase width of the filed

    hi all,
    well i have report that is designed by someone else in report 6i, now i want to change the width of one filed , that is i want to increase width but it does not allow me to change it
    how to change it??
    thanks
    abhi.

    There can be two reasons...
    1. Check the outer frame(s) for that field. I mean if that field exists in repeating frame or main frame then increase the frame size first then you can increase the field side.
    2. There is one button in the LAYOUT SECTION at top called FREEZE PANES. If it is pressed mean if you will resize the field size then frame side will be automatically adjust. So, suppose you replay LAYOUT section's size is not allowing you yo increase the frames out of the LAYOUT section. If it is then increase the layout section size and try..
    -Ammad

  • How to increase size of button in sap netweaver webdynpro

    hi
    iam using sap netweaver webdynpro
    i have one application i want to increase size of button
    i will increase width but i want ot increase height
    of butto
    how  is it possible
    byeeeeeeee

    Guruvulu,
    Not sure whether it helps, but try this trick: set imageSource to some transparent GIF with necessary height.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to increase the width of Panel Tabbed layout

    How to increase the width of detailed items of a Tabbed Panel ? I have many columns inside a detailed item of tabbed panel i can see only 3 colums ,to see the rest of the column i need to scroll. I tried to set the width but doesnt seems to be working
    <af:panelTabbed id="pt2" inlineStyle="width:800.0px;">
    <af:showDetailItem text="Interview" id="sdi1"
    inflexibleHeight="50"
    inlineStyle="width:800px; border-color:Aqua; border-width:thin;"
    styleClass="AFStretchWidth">
    Is there any way to increased the width of showDetailItem of panelTabbed ?
    Thanks

    Make sure the stretchChildren property of the shoDetailItem is set to first.

  • How to increase the size (Length and width)  of check box

    Hi All,
    I have to increase the size of ( width and length) of check box, I have revised to check box topic in dev guide but didnt find any clue, i have also tried to use CCStyle class but that is also not working, I would appreciate if some can help me out on this. Thanks in advance , let me know if any clarification required.
    Thanks
    Pratap

    Hi Pratap ,
    I honestly don't know how to increase the size
    But i am giving you an alternate solution : we can create two Images with check box type 1 ) with checked
    2 ) with unchecked . ( you can create image of any size ) and get them displayed on OAF screen dynamically using switcher case .
    Dynamically displaying image will give the illusion of check box being checked and unchecked .
    keep this image moved to following media directory
    eg : /oraapp/mfgtestcomn/java/oracle/apps/media .
    Implement the switcher case , add the fire action to this Image Column , create a transient attribute and attach to this
    column . Depending on the value returned by transient attribute display the image on the column .
    Let me know if its not clear .
    Keerthi

  • How to increase the width of ribbon button in mscrm 2013?

    Hi , we have  created a custom button ,but its text is  bit long. so we are not getting entire text on the form for this button.
    Could you please suggest , how we can increase width of the button.
    hari ________________________________________________________ If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    thank u for  quick response.
    Could you please provide the approach which is unsupported ? (if any?)
    hari ________________________________________________________ If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How to increase the width of the Crystal Report

    Hello All
    How to increase the width of the Crystal report template in the CR designer in .NET 2005 editor ?
    I need to design a report which has to accomodate more number of columns.So achieve that i need to redesign the report having more width.
    CrystalReports version 10.2.3600.0
    Thanks in advance
    Srivatsa

    HI Srivatsa,
    You can make a wider report by creating virtual pages. Virtual pages are the extra pages to the right of the main page that get created to accommodate cross-tabs that are wider than a single page. By inserting a cross-tab in a report then suppressing it, you can create a report that is multiple pages wide.
    Insert and Suppress a Cross-Tab
    1. On the 'Insert' menu, click 'Cross-Tab'.
    2. In the Cross-Tab Expert, click any field and move it into the 'Columns' box, and click any field and move it into the 'Summarized Fields' box. Do not move any fields into the 'Rows' box.
    3. Click the 'Customize Style' tab and select the following check boxes:
    " Suppress Empty Rows
    " Suppress Empty Columns
    " Suppress Row Grand Totals
    " Suppress Column Grand Totals
    4. Click the 'OK' button and then insert the cross-tab into the Report Header section.
    5. On the 'Report' menu, click 'Format Sections'. Click 'Report Header' and select the 'Underlay Following Sections' check box.
    When you run the report you will not see the cross-tab, but you will be able to scroll to the right and see multiple virtual pages.
    ====================
    NOTES:
    " As there are no rows to the Cross-Tab, it does not carry on to Page 2 and the virtual pages do not appear past the first page.
    " To increase or decrease the number of virtual pages do one of the following:
    - Limit the number of records for the field in the 'Column' box of the 'Cross-Tab Expert' using the 'Select Expert'.
    - Change the width of the 'Column' field in the Cross-Tab by moving the edges of the field.
    ====================
    How to Insert Fields on Virtual Pages
    You cannot drag-and-drop a field onto a virtual page, you can only do so on the main page. To get a field to appear on a virtual page:
    1. Insert the field on the main page.
    2. Click the 'Preview' tab.
    3. Drag the right edge of the field to the right, onto the virtual page.
    4. Drag the left edge of the field to the right, onto the virtual page.
    Hope this helps!!
    Regards,
    Shweta

  • How to increase the width & heigt of page in smart forms...

    Dear abaper,
    In smartform i have one problem,
    the default page size is 20 cm ht & 20 cm width,. but i want to create 4 windows havehing
    leng & width of (total 4 windows) more the 20*20cm .so an error message is displaying ''window dose not fit on page 1''.
    can any one sugesst how to increase the page size (weather it is possible or not) .what is the soulution for this.
    regards
    veera

    Hi,
    Open the Smartform and click on FORM PAINTER.
    A graphical window will appear displaying all the windows you have created.
    These windows are going beyond the paper size. Resize them so that they would fit in the page. You can also extend the page by simply clicking & dragging the edge of the window.
    Best regards,
    Prashant

  • How to increase the width size between PROMPT and TEXT BOX?

    Hi Gurus,
    my page having MessageTextInputs. Normally page runs displays the Prompt name and one text box will displayed.
    my requirement is
    1) how to increase the width size between PROMPT and TEXT BOX?
    2)prompt name displays like
    elephant
    xxxxxant
    xxxxRose
    here xxxxx indicates SPACE
    but my client requirement is don't displays the SPACES in left side.
    so our requirement is in page PROMPT displays like
    elephant
    ant
    rose
    How to achieve this plz help me
    its very urgent
    Thanks

    Hi,
    Create a table layout region and under that use 'messageStyledText' for displaying the prompt and use 'messageTextInput' for text field without giving any prompt to that.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for