How to opimize the canvas

Hi,
How i can increase font size dynamically according to display data.
for example,
the canvas has 10 lines.
I have 10 record to display on that lines.
6 line is enough to display that.
we do not know size of the record.
record should be displayed one by one.
Which logic I have to follow.
is there any sample coding?
please tell me..

If you are using standard GUI elements like forms, it's not in your control. If you custom draw, you can check the display dimensions and decide which font size you find most suitable -- there are a few sizes defined in MIDP.

Similar Messages

  • How to control the canvas of the ADF Read-Only Form

    Hi
    Could you give an idea of how to control the canvas of the fields in ADF Read-Only form. My requirements are as follows
    1) ALL the labels has to left justified irrelevant of their length
    2) ALL the values also has to left justified and should be wrapped if it exceeds some length.
    3) I want to show the results in more than one column with proper alignment as mentioned above.
    Thanks in advance.
    Sivaji.......

    Sivaji,
    There is a "rendered" attribute on the af:table component. You can write EL to pragmatically control the evaluated value of expression to set the visibility.
    Assuming you are using BC for your middle layer you can do something like the following:
    <af:table ...
    rendered = #{YourDetailViewObject.somestring.inputValue != null}
    ..>
    Z

  • How to use the canvas element?

    hi guys,can anyone help on how to use the mx:canvas on the flex mobile project cause they only allow spark components to be used?just want to have a signaturepad using the canvas element..please guys..:(

    Hi All,
    I have  been  able  to  get  the  value  of  a container  element by  using  the  macro  'swc_get_element'   .I  have  used  it  in  the  method  of  my  task   and  saved  the  value  in  a  z-table. For  this  I  have  set  the  'Export' property of that  particular container elemnt .Now  my  problem  is  I  want  a  second  container  element  to  be  stored in  the  database , I  have  set  its  'Export'  property ,  but  inspite  of  that  it  is  not  visible  in  the  task  container.  As  a  result  I  am  not  able  to  access  it  from  inside  my  method  and  unable  to  save  it  in  the  z-table.  So  please  give  me  some  solution.
    Thanks  &  Regards ,
    Samrat Dutta.

  • How to send the canvas window to a secondary monitor ?

    Hi there,
    I already hooked up a secondary monitor.
    How do I send the canvas window to a secondary monitor ?
    Thanks

    Once you have your extenal display connected, you need to go into System Preferences > Displays and turn off mirror displays mode.  This puts your external display in extended desktop mode.  Then you can drag the canvas window from your primary display to your external display.
    Note: in my experience if you normally have the Dock on the right side of the screen it will disappear when you do this.  Just do  > Dock and select one of the other Dock positions.

  • How to delete the canvas in the logo that I created in Illustrator. I am working on a business card

    so when I place the logo it appears with all the canvas. I just want the logo and not the canvas.

    Open up the logo in illustrator and deleting the offending elements you do not need. When you place the logo, is should look like this.

  • How to move the canvas in the screen

    Hi,
    I am a j2ME game developer. I wanna create a canvas which contains something that can't be displayed all at a time. the user has to scroll across to view the canvas. I am not aware of the issues of this kind. Help me out in this regard.
    Cheers
    joe

    You could add a scrollPane to the component holding the image however, as you may or may not know, a scrollPane can only be added to Container type components so you can't add a scrollPane to a Canvas. You could add it to its parent Frame however.

  • How to hide the canvas

    At times I just want to deal with the time line and hide the canvas.
    Is there a way to do this? 
    I imagine it must be a simple thing that I'm just overlooking.
    Thanks.
    david

    i tried above options i.e :-
    1)
    show_view('ORDER_BASIC');
    GO_ITEM('ADDRESSSES.SHIP_TO_CONTACT_MIR2');
    hide_view('ADDRESSES');
    But may the block addresses resides on the canvas addresses ?
    and ans to this que is ya block addresses reside on canvas addresses
    2)i cant hide_window as that window has many canvases attached to it.
    I am writing this code in WHEN-NEW-FORM-INSTANCE..hope its right??
    Please let me know if its not the correct trigger to write the code...

  • How to avoid the canvas showing after crop/how to cut out background&side objects

    Hi
    Thanks in advance for any help!!!
    I've tried in vain for hours to work this out....I am shooting against a white background and I need to chop off the lights/other objects in the shot at the side of the video- how is this best achieved?!
    I've trimmed the video but then I'm left with a white or black canvas at the sides....and I can't work out to make the video fill the frame once I've trimmed!
    I'm using the white screen to avoid having the key all the videos (just bought the white screen after the green sreen had too many issues with staying inside the greenscreen and having to be so far forward to light the green screen enough - I'm shooting large products!)
    I'm new to FCP (I've got FCP X 10) so sorry if this is an obvious answer but I'm banging my head against the wall on this one!
    screenshots attached of what I'm talking about!
    even giving me the correct terms to google would really be appreciated!! ive tried everything i can think of!
    Thanks

    You have to fill it with something. How good are in Photoshop? Take a frame and airbrush and clone the "white" into the surrounding area. Place the Photoshop image on a layer underneath the crop video. Rather than crop it using the mask effect and feather it so it will blend better with the underlying graphic.

  • Enlarge or reduce the canvas

    Hi,
    Another issue i'm having,
    In the edit view there's a panel to the left.
    At the top of it, there's a cross selected by default , it's for sliding the canvas with 2 fingers.
    Once I tap on this cross, I switch to the "hand" mode  which makes me able to zoom in /out , and handles appears at the borders,
    these handles let me enlarge the canvas....BUT not reduce it.
    How to reduce the canvas ?
    Thanks.

    Hello Kililio,
    Reducing the size of the canvas is not possible in the current version. However, if you have enlarged the canvas, you can revert the change by UNDO'ing the action.
    -Subbi

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

  • How to programmatically place the field in the canvas.

    Hello!
    Can you please tell, how to programmatically place the field BLOCK1.FIELD1 in the canvas CANVAS1.
    At the moment on the field value CANVAS = NULL.
    And when opening the form error "FRM-41014 Cannot set attribute of null canvas item..."
    Thank you

    Youcannot assign a canvas at runtime. Yu have to specify int at designtime and it cannot be changed at runtime. if you need an item in more than one canvas, use a mirror-item (duplcate the item and set the property Synchronize with)

  • How to change the number of  tab in a Tab Canvas?

    hello :)
    any answers please ?

    user9068133 - Posted: Nov 3, 2010 2:42 PM yes , it works very well on forms 10g, i know that is not a big problem but what can i do ! i have searched on google how to do that but i didn't find nothing .>
    What exactly did you search for on Google? What is "that"?
    Are you trying to add more tab pages to a Tabbed Canvas from the Forms Builder? If so, user13390506 is sort of right. Click on the "Canvases" node of the Object Navigator press the *<font color="green">green + </font>* button to add a new "Content" canvas to your form. Now you need to open the property pallet of the new canvas and change the "Canvas Type" property to "Tab." You will notice that the icon of the new canvas you created in the Object Navigator has changed. Click on the + node next to your new "Tab" canvas to reveal the "Tab Pages" node. Again, open this node (by clicking on the +) to reveal the individual tab pages. By default, Forms will create two tab pages. You can add a tab page in the "Tab Pages" node by clicking on the node and then clicking on the + button. To remove a tab page from the "Tab Pages" node, click on the tab page you want to remove and then click on the *<font color="red">red -</font>* (minus) button.
    If you are trying to add a new tab page during the Form runtime - as I mentioned before - this is not possible.
    Also, what is your Forms version?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Can you change the canvas size in AI CC . If so how? Not the artboard but the canvas behind it. I have a large cad drawing.

    Can you change the canvas size in AI CC . If so how? Not the artboard but the canvas behind it. I have a large cad drawing.

    Vandushia,
    The Workspace size is fixed, 16,384 points.
    I am afraid you will have to work in a suitable scale, which could be 1:2, 1:4, 1:10, or whatever is most convenient.

  • FW CS6 on Mac: how can I lock the docks with the canvas?

    I like the way all of my docs migrate from screen to screen all together when I use Dreamweaver and I seem to recall Fireworks CS5 on a PC behaved the same way. I use a MacBook Pro with an extra display at home and at work and would really like all of my panels, tool, and properties palettes to remain attached to the canvas—unless I undock a set of functions.
    Here's what I found in the Help section:
    Note: Dreamweaver does not support docking and undocking Document windows. Use the Document window’s Minimize button to create floating windows (Windows), or choose Window > Tile Vertically to create side-by-side Document windows. Search “Tile Vertically” in Dreamweaver Help for more information on this topic. The workflow is slightly different for Macintosh users.
    But... where IS that info for Macs?
    Anyone else have a workaround?
    Thanks!

    Yeah, I think part of what you're noticing is the difference in UI between Adobe applications on Mac versus Windows. Macs have traditionally had the floating window approach, which allows for visualization and interaction with elements beneath—like the Desktop or other applications—whereas Windows have a more integrated, full-screen UI. I haven't used a Windows OS in a while, but I remember how jarring it was having first learned Dreamweaver on Windows, and then using that same app on the Mac.
    I believe the Application Frame feature may have been developed to address that difference. Here's the excerpt from "Workspace basics" describing the feature:
    The Application frame groups all the workspace elements in a single, integrated window that lets you treat the application as a single unit. When you move or resize the Application frame or any of its elements, all the elements within it respond to each other so none overlap. Panels don’t disappear when you switch applications or when you accidentally click out of the application. If you work with two or more applications, you can position each application side by side on the screen or on multiple monitors.
    If you are using a Mac and prefer the traditional, free-form user interface, you can turn off the Application frame. In Adobe Illustrator®, for example, select Window > Application Frame to toggle it on or off. (In Flash, the Application frame is on permanently for Mac, and Dreamweaver for Mac does not use an Application frame.)
    So is this solution working for you? I cannot think of any other way to dock all the panels and windows as a single unit.

  • Stupid question ?  How do I PROPERLY display 16:9 in the canvas/viewer

    Working in FCP6. All I want to do is capture 16:9 PAL DVCAM from a Sony DSR 450 (set, unsurprisingly, to 16:9!) I've been all over the manual and drop down menus, think I've got the settings correct, BUT the canvas and viewer show the 16:9 letterboxed in a 4:3 frame and the capture window shows incoming 16:9 video squeezed into 4:3 frame. this can't be right surely. Could someone take me through the right settings?
    In Avid (sorry for the bad language) you can simply select 16:9 monitors. I've found the windows/arrange/standard bit and was expecting to see a 16:9/4:3 option but it doesn't exist. Help ... Please.

    Hi. Thanks for the thoughts. I'v already been on this dialogue box, there isn't a straightforward 16:9 setting. I'm assumng that you aheck the anamrphic 16:9 box select pixel aspect ratio to PAL CCIR601 720x576 and frame size to CCIR 601 PAL (4:3) Can't imagine what the frame size seting CCIR^)! PAL(5:4) is for. I'm aware that there are no more pixels recorded in 16:9 on a native 16:9 chip so setting for PAL 4:3 and ticking the anamorphic 16:9 box should fo it, shouldn't it. If you select one of the (obviously) native 16:9 HD formats you still get a letterbox within the 4:3 shaped viewer/canvas windows. Maybe that's just how it is. Seems strange though.

Maybe you are looking for