Can I change the layout of an IconItemRenderer?

I've started working on a mobile application in Flex 4.5.1
I'm using IconItemRenderer to display elements inside a draggable list.
Problem is, the IconItemRenderer has a very specific layout:
Icon on the left, title on the right and message at the bottom.
If I want to place an image in the middle and have a textfield on each side it's not possible.
My question is, can I change the layout of an IconItemRenderer, if not, how can achieve the layout I've stated earlier in an element inside a draggable list?
Thanks.

IconItemRenderer doesn't have a generic spark layout like other spark containers.  Instead it manually sizes and positions its elements for best performance.
If you want to customize how these elements are positioned you will want to subclass IconItemRenderer and override the measure() and layoutContents() methods.

Similar Messages

  • How can i change the Layout of the standard Discussion iVIew

    Hello all,
                 Most of my questions still remain unanswered.But this time i hope i will get some satisfactory reply. I want to create a Discussion iView(not Discussion group or Admin Discussion Group iViews) . However i am not getting the layout used here.I want to remove buttons like "Add To Favourites" Subscribe TO Discussion" and also ,once you click on any topic ,on the second screen commands like "Send To","Subscribe" etc .I want this to look simple as per requirement.How is that possible? Where exactly can i find them ? If there is any xml file ,where to find the XML file ?I do not know how to use NWDS ,as i work in KM and Collaboration area .SO if there is anyone who can guide me from configuraion point of view.I can also open the XML file and do the changes but how to execute it I do not know.Thanks in advance for any valuable input.
    Edited by: Arijit Bhattacharya on Feb 25, 2008 2:57 PM
    Edited by: Arijit Bhattacharya on Feb 25, 2008 2:59 PM

    Hi Arijit,
    try these links
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/01/ed0f412d72f323e10000000a155106/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504e31fc-f46f-2910-98b4-dd94478c22f8]
    hope this helps you
    Regards,
    vv.

  • How can I change the layout on this JDialog?

    Hi , I have the following Dialog with some content. As of now, the line after the separator is displayed in two lines. I was looking for a way to show that in one line and change the column widths a bit so that the rest of the content can each be shown on one line as well, according to the look and feel of a table.
    Here's the code:Please download [TableLayout.jar|http://java.sun.com/products/jfc/tsc/articles/tablelayout/apps/TableLayout.jar] in order to compile.
    Thanks!
    import layout.TableLayout;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JSeparator;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextPane;
    import javax.swing.text.StyledEditorKit;
    public class MyDialogTest implements layout.TableLayoutConstants {
         JTabbedPane pane;
         JDialog myDialog;
         JTextPane infoPanel;
        public MyDialogTest() {
             myDialog = new JDialog();
             myDialog.setTitle("MyDialogTest");
             pane = new JTabbedPane();
             JPanel panel = new JPanel(new BorderLayout());
             panel.add(makeTab(), BorderLayout.CENTER);
             pane.addTab("About", panel);
             myDialog.getContentPane().add(pane);
             myDialog.setSize(500, 620);
             myDialog.setResizable(false);
             myDialog.setVisible(true);
        private Component makeTab() {
             JPanel aboutPanel = new JPanel();
            double [][] size = {{PREFERRED, FILL},{PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, PREFERRED, FILL}};
            TableLayout layout = new TableLayout(size);
            aboutPanel.setLayout(layout);
            JLabel headerLabel = new JLabel("About This Application");
            aboutPanel.add(headerLabel, "0, 0, 1, 0");
            aboutPanel.add(new JLabel("Version 4.1"), "0, 1, 1, 1");
            aboutPanel.add(new JLabel(" "), "0, 2, 1, 2");
            aboutPanel.add(new JLabel("Customer Service: 1-800-888-8888"), "0, 3, 1, 3");
            JLabel yahooUrl = new JLabel("www.yahoo.com");
            aboutPanel.add(yahooUrl, "0, 4");
            aboutPanel.add(new JLabel(" "), "0, 5");
            aboutPanel.add(new JSeparator(), "0, 6, 1, 6");
            aboutPanel.add(new JLabel(" "), "0, 7");
            infoPanel = new JTextPane();
            infoPanel.setEditable(false);
            infoPanel.setEditorKit(new StyledEditorKit());
            infoPanel.setContentType("text/html");
            makeInfoPanel();
            aboutPanel.add(infoPanel, "0, 8, 1, 8");
            JButton copyToClipboardButton = new JButton("Button1");
            JButton moreInformationButton = new JButton("Button2");
            JPanel buttonPanel = new JPanel();
            buttonPanel.add(copyToClipboardButton);
            buttonPanel.add(moreInformationButton);
            aboutPanel.add(buttonPanel, "0, 9");
            return aboutPanel;
        private void makeInfoPanel() {
              StringBuffer infoPaneContent = new StringBuffer("<html><head></head><body><table>");
              infoPaneContent.append("<tr><td>Version 4.1 (build  111708-063624"+ "</td></tr>");
              infoPaneContent.append("<tr><td>Customer IP Address:</td>&nbsp <td>10.53.62.11</td></tr>");
              infoPaneContent.append("<tr><td>JMS Server:</td>&nbsp <td>myserver</td></tr>");
              infoPaneContent.append("<tr><td>Quote Server:</td>&nbsp <td>qs2w62m3/qs106w60m3</td></tr>");
              infoPaneContent.append("<tr><td>Login ID:</td>&nbsp <td>programmer girl</td></tr>");
              infoPaneContent.append("<tr><td>Java Version:</td> &nbsp<td>"+ System.getProperty("java.version") + "</td></tr>");
              infoPaneContent.append("<tr><td>Operating System:</td> &nbsp<td>"+ System.getProperty("os.name") + " "+ System.getProperty("os.version") + " ("+ ")" + "</td></tr>");
             infoPaneContent.append("<tr><td>Browser Version:</td>&nbsp <td>"+ "Mozilla/4.0(compatible: MSIE 6.0; Windows NT 5.1; SV!; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648" + "</td></tr>");
              Runtime rt = Runtime.getRuntime();
              infoPaneContent.append("<tr><td>Free Memory (KB):</td>&nbsp <td>("+ rt.freeMemory() / 1000 + " / " + rt.totalMemory() / 1000+ ")</td></tr>");
              infoPaneContent.append("<tr><td>Symbols In Use:</td>&nbsp<td>symbol</td></tr>");
              infoPaneContent.append("<tr><td>JMS :</td>&nbsp<td>connected</td></tr>");
              infoPaneContent.append("<tr><td>Market Data :</td>&nbsp<td>connected</td></tr>");
              infoPaneContent.append("<tr></tr>");
              infoPaneContent.append("<tr></tr>");
              infoPaneContent.append("</table></body></html>");
              infoPanel.setText(infoPaneContent.toString());
         public static void main(String[] args) {
              MyDialogTest test = new MyDialogTest();
    }

    Just sign out and sign in with your UK Apple ID
    Edit: If you press your name on this page (top left), you get "Actions" on the right side. Here you can change timezone, location etc.

  • Can we change the layout of the JAVATABLE to accomdate to the set Screen Resolution??

    Using Oracle Express 6.3.4 we are creating dataview(OLAP)in Web.
    We have set the background of the page calling a particular gif file.
    Now that the tool bar and Javatable color(Grey is the default colour) is not matching with the background of the gif file.
    I tried my best to change the color as a whole.But ended up in changing some portion of the layout like the pageedge,rowedge & columnedge colour in the JAVA TABLE.
    Can some one throw light on this???Is it possible to change the background of the whole applet to our likes.
    Thanks in Advance
    Nanda Kishore Kompala

    Nanda, you are right, there are certain areas of the table where you cannot change the color. There is currently no property for this.

  • Can you change the layout of the overview page?

    Is there anyway to change the contents or the layout of the overview page? I would like the wiki section to be longer.

    The teamcollab page is not modifiable unfortunately - we have complained about it and raised ERs but no solution is available as yet.

  • How to change the layout of area pages in ESS Overview.

    Dear Experts,
    Area groups like Leave, directory,payslip are presented on portal in a layout which is fixed in backend ESS customization eg postions(1,2...).
    Can I change the layout of these areas in portal?
    I tried doing this by going to overview iview and preview and then ctrl+click. I could see containers for each area group but I could not modify their sequence?
    Please help!!!

    Hi,
    May be this guide can help you
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0235c40-6351-2a10-a3a3-eb666dfdb407
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10ddda33-277b-2a10-5294-9913ee5d698f
    Regards,
    Niraj
    Edited by: Niraj Kumar on Feb 18, 2009 10:26 AM

  • Change the layout of added infotype (ESS)

    Hi experts ,
    I have added a new infotype and its working fine.Now i have to change the layout of newly added infotype .Please let me know how can i change the layout .
    Thanks in advance
    Regards
    Deepa Arya

    Hi Deepa,
    I Am giving step by step reply.
    1) Ur Structure does not exis.It means u have to create that.
    Follw this http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70016f20-ccc3-2d10-a6a6-887d9c2e258d?QuickLink=index&overridelayout=true
    For that .It will completely helpful for u.
    2)As u know in pa30 if u  enter infotype / ur custom infotype ,
    then from system>status. u  can
    find screen like this.
    Hope ur all doubt clear.
    Thanks
    Gourav.

  • Dynamically changing the layout of thre report-urgent please

    Can we change the layout of the report dynamically during runtime for example:the user should have flexibility to change the width, size , position of columns before the report is displayed & also he choose some fields not to display as per his discretion.
    Mahesh

    There are several ways of doing this, it really depends on your requirements as to which is suitable. (There are probably other ways of doing this as well).
    - Try Reports XML Customizations
    This is available in 6i and allows you to create a report dynamically on the fly. The template used will also allow you to change the paper size as well. The main limitation is that you are relying only on Reports defaulting to create the layout for you. The advantage is that you can store all your information to create the report in meta-data which can be driven by another tool.
    - Use lexical parameters for queries and format triggers
    Here, you have a fixed layout but dynamically change the query columns to the correct order. You would normally standardise on a "character" column type in order to do this. Even though the layout is fixed, you can use variable sized fields to push objects around. This can be difficult to setup.
    - Use several layouts
    You're reducing the options for the user, but you can have several layouts in the same report and turn them on/off. Effectively creating differing views of the same data.

  • Change the layout?

    Hello,
    I was wondering can I change the layout of the book, so I can put captions under each picture?
    Thanks

    You'll have to choose a different theme that has that layout. If you have a advanced 3rd party editor like Photoshop Elements you can create an 11 x 8.5 canvas and make your own page layout to be used with a one photo per page layout that covers the entire page. Others have used that technique successfully.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Can I change the background color when I'm in a brochure layout?

    can I change the background color when I'm in a brochure layout? I've tried making a box in desired color but cannot push it to the back(not an option, it's greyed out)

    Then you are in a Layout template and the shape is already the back most object.
    Peter

  • The environment has changed; the layout can no longer be executed

    Hi guys,
      I`m getting the below mentioned error message when I attempted to "Enter Plan Data" on my Layout
      " The environment has changed; the layout can no longer be executed "
      All I did was to create a Variable in Planning Area and then made adjustments to my Data Column in my Planning Function to include the Variable.
      Please advice soonest possible

    Hi Anurag,
      I have a question of Variable.
      I created a variable CURRMTH on Characteristic Fiscal Year/Period in my PLANNING AREA.
      This variable CURRMTH has the following properties
      Text Replacement : Medium text
      Replacement Type : Fixed Value
      Selection : Fiscal Year/Period is set to 001.2005
      Now, I created a Layout
      Fiscal Year Period in Data Column and Key Figure in Lead Column.
      In my Layout: Data Column tab , I put the following
      Heading : CURRMTH
      Key Figure : NEWLISTKF
      Variable
      Fiscal Year/Period: CURRMTH
      Do you forsee any inconsistencies here ?
      One more question, do I also have to set my Planning Level / Package to have characteristic Fiscal Year/Period to Variable ?
      Please help, mate!

  • Can we change the look and feel of the screen layout

    Dear All,
    I am new to ABAP WebDynpro, and would like to know the following with respect to ABAP WebDynpro :
    1. To what extent can we change the look and feel of the screen layout ?
    2. Is it possible to change the background color of the layout?
    3. Is it possible to change the color of, Buttons etc ?
    Any information / document/ link to explain this would be very helpful ..
    Thanks in advance,
    Aditi

    Hi,
    Psl check out these links.
    check out these webdynpro standard components in SE80 tcode -
    WDR_TEST_UI_ELEMENTS
    check out this link on webdynpro for ABAP-
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm-WD for ABAP
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm -UI elements
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm-Button Properties
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm- For different Layouts
    Regards
    Lekha

  • Can we change the length of fields appearing in the ALV layout

    Hi All,
    We are using the FM 'REUSE_ALV_LIST_DISPLAY' to display the output.We have a column  Clearing agent status in the output which has 3 lights(Red,Green,Yellow).After getting the output if i change the layout, the output of this column is appearing as description instead af light.
    Eg:For green light,it is 'All approvals are issued'.
    When checked in debugging, I could find out that there is one subroutine 'Column_width_optimize' in which the output length of the columns are getting changed.Initially the output length would be same as data elements length.But once this subroutine runs,the lengths are getting changed.(Clearing agent status if of length : 60,but it is getting changed to 30 which is the length of its description.)
    Now,I want to know if we can change the output length so that i obtain the required output.
    Thanks
    Prathima

    Hi,
    You can change the length in th eoutput by using
    outputlen in fieldcat.
    You can use like this
    w_fieldcat-outputlen = '20'.
    If you want 20 char lenght in the output.
    I think it is useful for you.

  • I'm trying to order album and I'm getting this message:Your book seems to have frames on one or more pages that do not contain photos. You must either change the layout of those pages or place photos in those frames before you can proceed with this book.

    I'm trying to order an album and I'm getting this message:
    Your book seems to have frames on one or more pages that do not contain photos. You must either change the layout of those pages or place photos in those frames before you can proceed with this book.
    As far as I can see I have placed pictures on all the pages. I admit that on some pages I could have placed 3 or 4 pictures but I chose to use ony one or two. Could that be the problem?

    Yes -
    Your book seems to have frames on one or more pages that do not contain photos. You must either change the layout of those pages or place photos in those frames before you can proceed with this book.
    The error seems pretty clear - you must have a photo in evey photo frame in order to place your order - so you must either change the layout (if you only want one photo on a page then use a layout with one photo) or put photos in the spots you have not filled
    LN

  • How can i change the print layout in i cal, how can i change the print layout in i cal

    Im a franklin planner user and would like to convert to ical.  How can I change the print layout in ical so I can print task on the left side and calendar events on the right side.

    Hi Mike3232,
    I'm afraid that it's not possible to adjust the print layout in iCal. Maybe you should think about changing to another program (BusyCal, etc.) that has the option to print the layout you want?
    Good luck!
    Michaël Duwyn

Maybe you are looking for

  • The content tab in options is not showing up

    I am trying to allow my computer to accept pop ups. I go to Tools, Options, and then Content. The Content tab does not appear to be working. It shows whatever tab I looked at last. For example, I go to the "Security" tab and then back to the content

  • Calendar displays different items in list vs day/month view

    I have a strange problem. When viewing my Calendar items in List view, the items are all wrong for the day. But in Day & Month view they are correct. I have tried resetting my sync history, and also removing all items, then checking the replacing ite

  • Apple TV changed battery screen shows setting  time etc now it will not start

    I had to change battery in remote (2nd gen apple TV) now it starts setting time etc screen is blank. I swithced it off waited 30 secs, no luck!!!! I cannot go to menu as it does not allow me. Has anyone got any suggestions??

  • Adobe Form Translation error Omitted Objects (Could not be Converted)

    Hi, I am new to this forum. I have an issue with Adobe form Translation. Through SE63 (or through the form translation itself) , whenever I try to translate into any language it gives me an error "  Omitted Objects (Could not be Converted)". And the

  • Peer to Peer with Live Video

    Hi, I have found plenty documentation on how to set this up. But no user cases on how good it is with live video, the bandwidth used etc. Has anyone here done this before with great success? Thanks.