Tree size, change width

HI,
I have created a layout page. It consists of 2 colons (narrow-wide). I want to change the narrow (left side) to a smaller width. Does anyone know how to?
I have tried the menu:
System Administration -> System Configuration -> Knowledge Management -> Content Management -> User Interface -> Settings -> Resource Render Settings -> CustomerTreeResourceRender
and set the width size to 70px, but this doesn't make any changes on my page.
Any hints?
Kr,
hilde

Hi Hilde,
As far as I understand you want to modify a page layout to have different proportions.
The way to do this is to create a portal component which has a new layout (you could in theory overwrite SAP standard for narrow-wide, but this is not recommended).
See http://help.sap.com/saphelp_nw04s/helpdata/en/42/efe25b0d301aa2e10000000a422035/frameset.htm
Suggest you just use the narrowWide.jsp (see C:\usr\sap\<sid>\JC00\j2ee\cluster\server0\src\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.layouts.default\jsp )as a starting point and just change the proportions in your own code.
narrowWide.jsp:
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
<lyt:template>
    <hbj:content id="myContext" >
        <hbj:page title="Portal Page">
            <hbj:gridLayout   id="GridLayout1"  width="100%" cellSpacing="2">
                <hbj:gridLayoutCell rowIndex="1" columnIndex="1" width="30%" verticalAlignment="top">
                    <lyt:container id="column1" />
                </hbj:gridLayoutCell>
                <hbj:gridLayoutCell rowIndex="1" columnIndex="2" width="70%" verticalAlignment="top">
                    <lyt:container id="column2" />
                </hbj:gridLayoutCell>
            </hbj:gridLayout>
        </hbj:page>
    </hbj:content>
</lyt:template>
Regards
Dagfinn
PS afterwards you of course has to assign the new layout to your page

Similar Messages

  • Changing width of a custom container dynamically

    Hi,
    I have an ABAP report that has 2 custom containers on a screen: CC1 on the left, showing a tree and another one (CC2) consuming the rest of the screen. Depending on what node the user selects in the tree (left CC), I would like to dynamically adjust the width of CC1 and CC2.
    Is there a way to do it? I found the method SET_WIDTH of CL_GUI_CUSTOM_CONTAINER (which CC1 and CC2 are instances of), but it does not seem to work.
    Any help is appreciated.
    Guenther

    Here is a coding example that demonstrates dynamically changing the width of the container.
    What you cannot see is the screen definition.  Screen 100 has a single custom container that fills the entire screen and is set to be resizable.  The container name is 'MY_CONTAINER'.  Next screen is set to 0.
    Flow logic of screen:
    PROCESS BEFORE OUTPUT.
      MODULE pbo.
    PROCESS AFTER INPUT.
    Cut and paste this program and define the screen.  Run the program and keep hitting ENTER to see the size change from left to right.  After 9 times, the program will end.
    REPORT  zcdf_docking_example.
    DATA:
      w_sash           TYPE sy-index,
      r_cstm_ctnr      TYPE REF TO cl_gui_custom_container,
      r_easy_splt_ctnr TYPE REF TO cl_gui_easy_splitter_container.
    CLASS cl_gui_easy_splitter_container DEFINITION LOAD.
    DO 9 TIMES.
      w_sash = sy-index * 10.
      CALL SCREEN 100.
    ENDDO.
    MODULE pbo OUTPUT.
      IF r_cstm_ctnr IS INITIAL.
        CREATE OBJECT r_cstm_ctnr
             EXPORTING container_name = 'MY_CONTAINER'.
        CREATE OBJECT r_easy_splt_ctnr
               EXPORTING
                 parent = r_cstm_ctnr
                 orientation =
                   cl_gui_easy_splitter_container=>orientation_horizontal.
    *   Set starting sash position.  Position is a percentage.
        CALL METHOD r_easy_splt_ctnr->set_sash_position
               EXPORTING
                 sash_position = w_sash.
    *   Put ALV in left container.
    *    CREATE OBJECT r_alv_grid1
    *           EXPORTING
    *             i_parent = r_easy_splt_ctnr->top_left_container.
    *   Put ALV in right container.
    *    CREATE OBJECT r_alv_grid2
    *           EXPORTING
    *             i_parent = r_easy_splt_ctnr->bottom_right_container.
      ELSE.
        CALL METHOD r_easy_splt_ctnr->set_sash_position
               EXPORTING
                 sash_position = w_sash.
      ENDIF.
    ENDMODULE.                 " pbo  OUTPUT
    Let us know how it goes.

  • Can we change width of the column at runtime

    I have a report with columns assigned runtime, can we change width of the colimn runtime?
    for example Query: select &lp_1, &lp_2 from emp &LP_Where
    if i assign lp_1 empno size 10 and empname size 50. Vertical and horizantal elasticty is not going work for me. Any suggestions please..
    Lalitha

    Doubt there is the dynamic you are seeking.
    But you may put a few overlapped columns (diff. length of course) and display/hide by passing parameters.

  • Change width of fonts

    I just learned how to change size of fonts. But, how can I change "width" of fonts in java?
    Please help......;)
    int font_size = 150;
    int x = 120;
    int y = 125;
    font = new Font("TimesRoman", Font.PLAIN, font_size);
    g2.setFont(font);
    g2.drawString("hpatel", x, y);
    y += line_spacing;

    What you done is not changing the size, but create a new font with a new size. the width can't be change in a font and you can't create a new font with specifying a new width.
    Noah

  • [svn:fx-4.x] 15289: Regression caused by yesterday' s auto size change in RET.

    Revision: 15289
    Revision: 15289
    Author:   [email protected]
    Date:     2010-04-08 16:09:37 -0700 (Thu, 08 Apr 2010)
    Log Message:
    Regression caused by yesterday's auto size change in RET.  Don't save width and height constraints if we are not auto-sizing.
    QE notes:
    Doc notes: None
    Bugs:  SDK-26175
    Reviewed By: Corey
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26175
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RichEditableText.as

    [mi] EQ overflowing. The server is probably stuck in an infinite loop.
    Seems a little suspicious, though its kind of a generic error message.  Lots and lots of google hits on that one.
    Are you sure none of the libs or executables for xorg-* got damaged before the system called for an fsck?  The power went out on me once and my hard drive "forgot" about 75% of my kernel modules, although it was a conventional hard drive and not an SSD.
    try re-installing some packages:
    pacman -S xorg xf86-video-ati ati-dri libgl
    (any more anyone can think of?)
    [edit]
    Is your copy of that bootchart that blurry or is flicker messing with it?  It looks like its been resized even at largest setting. I can hardly read it.
    Last edited by wriggary (2010-01-29 04:43:02)

  • How Image size changes when zoomed ?

    Hi,
    I am using the following method code to zoom-in and zoom-out my images.
        public void zoom(double zoomFac) {
            this.zoomFac = zoomFac;
            atx.setToScale(zoomFac, zoomFac); // global attribute AffineTrasform
            ParameterBlock pb = new ParameterBlock();
            pb.addSource(getDefaultOrjImage());
            pb.add(atx);
            pb.add(Interpolation.getInstance(Interpolation.INTERP_BICUBIC_2));
            rImage = JAI.create("affine", pb);
            repaint();
            this.setPreferredSize(new Dimension(rImage.getWidth(), rImage.getHeight()));
            updateUI();
        }One can notice that I am using Bicubic interpolation for the purpose.
    I want to predict the size of Image for a given zoom factor. How can I do this?
    I've seen the algorithm of Bicubic Interpolation, but coulndt figure out how I can use its details to predict the size change of the image.
    clearly speaking if my image's
    width = 512, height = 512,
    What will be the width and height when the image is zoomed with zoomFac = 1.2
    Thank u for ur time.
    Regards,
    Rajesh Rapaka.

    The penny will drop soon or maybe the cloud will lift.
    In Lightroom all editing is undoable/nondestructive.
    Hence a crop of 3x2 is not inches, centimetres, pixels or anything else. It is jst a ratio. When a file is exported, either to PS or disk, then the crop ratio has size determined in respect of pixels and inches or cms.
    So my 6000x5000 pixel image I will crop to 3x2 that leaves (before exporting) a 6000x4000 file.
    Now when exported it can be set to export at
    100pixels per inch and will end up at 60x40" when printed.
    200pixels per inch will end up at 30x20"
    300ppi will end at 20x13.3"
    You will notice in the Crop Tool there are no size denominations such as inches or centimetres as an image file only has pixels and the determination of size is done through exporting or printing.
    Hope that helps somewhat..

  • Why the last column change width automaticlly?

    a datagrid has 3 columns,
    set horizontalScrollPolicy="auto"
    I stretch first or second column, the third(last) column will
    change width automaticlly. If I wanna fix the width of last column,
    what should I do?
    thanks....

    I don't think there is way to do this. This seems to be
    hard-coded -- thru a private function called calculateColumnSizes()
    -- in the DataGrid class.
    So you're essentially out of luck! Unless, of course, you
    decide to subclass the DataGrid class, override updateDisplayList
    method and provide your own implementation of calcualte column
    size!
    Or maybe, logging a change request for Flex team.
    ATTA

  • Portlet window size changes in Webcenter

    We have a custom portlet that is deployed in Webcenter in AviTrust using the Application Page Template. As we step through the screens in the portlet, the width of portlet window changes. The portlet content itself is in a div and does not specify a specific pixel width.
    I'm fairly new to this but the way I understand the DIV tag, the width of the DIV tag is determined by the enclosing container. This would imply that the width of the Webcenter containers enclosing the portlet content is not fixed.
    I know one can fix the size fluctuation by setting the size of the portlet after it is added to a page. Is there any other way to stop the size change without actually specifying a fixed width in pixels?
    Much appreciated if anyone could comment on this behaviour in Webcenter so I can be sure of the possible fixes for this issue!
    Thanks heaps.

    Thanks.
    I dont like full screen mode, I prefer to keep the window at a size which is comfortabe for me to work.
    From what you have said, it seems as if I cant prevent the main window from constantly changing size each tyime I select fit to screen.
    I am baffled, because I have been using Phtotoshop CS4 with a window size setting which stays the same regardless of how I zoom the image/canvas. Odd isn't it?
    Regards

  • Preventing scrollbars appearing when font size changes

    Hi,
    I have a Panel container (relative layout with now height/width specified) containing text which has its font size determined at runtime from an external stylesheet. In my application, the user has the option to change font size (ie. load a separate external stylesheet). The problem is, whenever larger font sizes are chosen, horizontal and vertical scroll bars keep appearing within my panel container. I do not want this at all, I want the panel to resize!
    I've tried almost everything, including:
    Calling "validateNow()" when font size changes
    Launching a resize event when font size changes
    Overriding the updateDisplayList method of Panel and trying to set the height and width to the newly measured height and width.
    None seem to be effective. It is as if the Panel does is not able to calculate the new size when the font size changes.
    Any help would be GREATLY appreciated.
    Thanks.

    Hi,
    With mx panel you can set its verticalScrollPolicy="off" horizontalScrollPolicy=""off",
    David.

  • Change width of splitter container and single container

    Hi,
    im using a splitter container (abap oo style without dnpro elements) with 2 single containers.
    create object go_splitter
        exporting
          parent            = go_docking
          rows              = 1
          columns         = 2
    Column 1 leftside = Tree (width = 100)
    Column 2 rightside = ALV (width = 100)
    Ratio = 50:50
    Is it possible to change width to ratio 30:70
    Example:
    Column 1 leftside = Tree (width = 30)
    Column 2 rightside = ALV (width = 170)
    Ratio: 30:70
    Thanks,
    Gordon
    Edited by: Gordon Breuer on Feb 19, 2009 10:56 AM
    Edited by: Gordon Breuer on Feb 19, 2009 11:04 AM

    Use Method SET_COLUMN_WIDTH & SET_ROW_HEIGHT of Class CL_GUI_SPLITTER_CONTAINER to adjust Width & Height
    CALL METHOD W_L_SPLITTER->SET_ROW_MODE
          EXPORTING
            MODE = W_L_SPLITTER->MODE_ABSOLUTE.
        CALL METHOD W_L_SPLITTER->SET_ROW_HEIGHT
          EXPORTING
            ID     = 1
            HEIGHT = 80.

  • After copying a file from NTFS to HFS volume, file size changed when viewing in Windows

    Hi guys,
    I have a Mac Air running Mavericks on a HFS partition and Windows 7 on a BOOTCAMP NTFS partition. I have some files that I want to read/write from/to both systems. Since OS X can't write NTFS and Windows can't write HFS either, and I don't want to use any 3rd-party tools/drivers, I have to adopt a "stupid" way: in OS X, I copy those files from NTFS to its HFS partition, make changes, then switch to Windows and sync them back to NTFS.
    The problem is, after I copied a file from NTFS to HFS in OS X, it seemed ok. But when I switched to Windows, the very copied file in HFS partition had its size changed (bigger) although I didn't make any changes to it in OS X yet. This happens to almost every file I copied, text and binary. For those text files, I tried to open it with EditPlus in Windows and EditPlus reports the correct size on the status bar.
    How could this happen?

    I am not sure if this is what your seeing but...
    The same unaltered file on two different volumes might use different amounts of disk space. This is because a 'disk' is divided in to 'blocks' and a block (also historically known as a 'sector') is a certain minimum size. So if disk-1 has a block size of 512 bytes and disk-2 has a block size of 1024 bytes then a file containing just 10 bytes will use up twice as much space on disk-2 as disk-1 even though it is the exact same file.
    Beyond that, Macs can add additional information like Spotlight tags, labels, icons, etc. which make a file bigger. If you are modifying a file then presumably that also implies adding additional content e.g. for a Word document more text and this will make it bigger. Also depending on some programs are configured or designed 'deleting' text may only mark it as deleted and not really delete. This can apply to older versions of Word which has a 'Fast Save' feature, new versions have removed this and do a proper delete.
    You would have to give more details like what you are doing to the document, what kind of document, and what the two sizes are.
    Finally, there is one other potential difference, some systems and manufacturers use 1024 as a unit for measuring file and disk sizes, some use 1000. It will be the same number of bytes in each case but 1000 bytes in one case would exactly equal 1MB, and in the other it would be 0.9765MB.

  • When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this? ex) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.

    When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this?
    It's always a decimal point too.
    ex 1) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.
    ex 2) moved a 124pt text to the right (Shift + arrow right a few times) and text changed to 14.06pt.

    When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this?
    It's always a decimal point too.
    ex 1) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.
    ex 2) moved a 124pt text to the right (Shift + arrow right a few times) and text changed to 14.06pt.

  • Slide size change when clicking on pdf links (Acrobat 9 pro)

    Hello,
    I have a problem with an interface mock up I have to deliver to a client.
    The size of image is changing from a slide to another.
    For example, when I click on a home button (this button is a link made in acrobat pro, that send to another page of the pdf document), the slide size changes from full screen to a smaller size with a black border around.
    SOrry it's hard to explain, so I put 2 screenshots and hope it will be clear enough >
    This happen only if I use clicks on the links.
    If I just use the next / previous command (for example if I use keyboard's arrows), the size remain full screen and unchanged for the whole slides.
    Can you tell me how to fix this problem?
    Best regards,
    Mega

    Something to try.
    Using the link tool select the link.
    View the link's properties.
    Select the Actions tab.
    Select the show action then click the Edit button.
    Observe what is displayed.
    You'll note that you can configure the value for "zoom".
    Be well...

  • Fonr size change in Webdnypro for ABAP

    Hi,
    We have a requirement to change the font size of UI elements in WDA application which is integrated in Portal via web page composer.
    To alloborate more, in web page composer WDA application is called as <iframe>http://<host>:<port>/bc.../<webdnypro application name></frame>.
      We have checked with portal themes, but changes in portal themes does not reflect the WDA font.
      So, we have started changing WDA CSS themes by downloading standard theme using BSP_UPDATE_MIMEREPOS, and uploadign the changes , and adding it to the url parameter as <iframe>http://<host>:<port>/bc.../<webdnypro application name eg:XXX>?SAP-EP-THEMEROOT= /SAP/PUBLIC/BC/UR/CustomThemes/standard</frame>
      Now we are able to see font size changes in, application(XXX).
      font size is not reflecting if XXX application call some other application inside , it is obvious as the called application is not having application parameter SAP-EP-THEMEROOT= /SAP/PUBLIC/BC/UR/CustomThemes/standard.
      Through programmatic it is possible, and also if we add it to the application parameter.
    But we don't want do any changes in standard application.
    Kindly, suggest me way, through a portal or by WDA to achieve it.
    Regards,
    Devender V

    Hi,
    you can change the font size (text size) by simply going to IE menu View->Text Size and then choosing the one whichever is suitable.
    I do not know if this will solve your purpose..Just suggestion.
    Thanks,
    Chandra

  • Need help for finding objects impacted by size change for an infoobject

    hi all,
    need help for finding objects impacted by size change
    for xxx infoobject, due to some requirements, the size to be changed from
    char(4) to char(10), in the source database tables as well as adjustment
    to be done in BI side.
    this infoobject xxx is nav attribute of YYY as well as for WWW
    infoobjects. and xxx is loaded from infopkg for www infoobject load.
    now that i have to prepare an impact analysis doc for BI side.
    pls help me with what all could be impacted and what to be done as a
    solution to implement the size change.
    FYI:
    where used list for xxx infoobject - relveals these object types :
    infocubes,
    infosources,
    tranfer rules,
    DSO.
    attribute of characteristic,
    nav attribute,
    ref infoobject,
    in queries,
    in variables

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

Maybe you are looking for

  • Opening MS-Project in Browser

    Hello All, I am using Tomcat server I am creating a file in server with session id with mpx extension. After save i want to open the same file in browser. Please help me how to do this. Regards, Shivakumar

  • What's the difference between Aurora and Beta?

    what's the difference between Aurora and Beta?

  • How do I change media start timecode?

    I'm working on a project that was handed to me after a significant amount of capturing had already been done. Much of the footage (I'm praying that not all of it is like this) was captured using Capture Now, so there is no room left for pre-roll on a

  • Muvo nx deleted everything whe

    The battery level was already low. But before I changed batteries, I decided to delete the last item I was listening to. Right after pressing Delete, the unit simply powered-off. After replacing the battery, the unit powered up showing NO content! Ev

  • Clearing date problem

    hi all, this question is regarding clearing date of vendor's check run. They found out that one vendor from today's check run had a clearing date of 10/23/07 instead of 10/16/07. I checked and all the other payments from today's run had a 10/16/07 cl