How to set width to be same as screen size?

Dear all
I want to set the width of my view elements to be same as that of screen size, so that if a user with low resolution monitor runs it, or if a user with high resolution monitor runs it, both see the same.
I tried setting the width to 100%. But it is not working.
My root container layout is Grid layout.
Any suggestions please?
Thanks in adv.

Hi,
For ROOTUIELEMENTCONTAINER set the stretchedHorizontally,stretchedVertically to true.
And for the UI element set width as 100%, this will make the UI elem to expand to the complete screen.
Best regards,
Suresh
Message was edited by:
        Suresh Honnappanavar

Similar Messages

  • How to set width for this modal dialog box?

    Hi All,
    How to set width to this modal dialog box:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;}); return false;" type="button" value="Vote"/>
    Thanks in advance!

    set as bellow:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;,width:700,height:350}); return false;" type="button" value="Vote"/>
    yaşamak bir eylemdir

  • How to set the JFrame to be Full screen

    yup.. how to set the JFrame to be Full screen mode??

    Hi,
    You can get the current size of desktop and resize your application to match it.
    //Get desktop screen size
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize()
    //Set bounds for main window
    setBounds(0, 0, screenSize.width, screenSize.height);     Br,
    J

  • How to set different renderers to same column

    I am trying to set different renderer to same column.
    table.getColumn("columnname").setCellRenderer(
                   FirstCellRenderer);
    table.getColumn("columnname").setCellRenderer(SecondCellRenderer);
    I want both to work at the same time.
    It is taking the second renderer but not first.
    Can anyone please help me, how can i achive it.

    In my situation i need first renderer for all the columns in the table.
    Second renderer only for one column.(which shows thw column value as tooltip)
    Can you please tell me how can i do it.
    when i tried to consolidate in one renderer , it is showing me the same value to all the columns.

  • How to set width of apex_item.select_list_from_lov?

    Hello experts!
    Sorry to bother you but I can't find out how to set the width of a select list generated in my query.
    I already had a look at the Oracle Express Api docu but and tried the following to no avail.
    apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','.style.width = "300px";',
    '%', null,null, null, 'class="combobox"')Do you have a better idea?
    Many thanks,
    Sebastian

    I just did some more testing and discovered that the following works:
    apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','style="width:500px";',
    '%', null,null, null, 'class="combobox"')Maybe this helps others as well!
    Thanks for having a look!
    BR,
    Seb

  • How to set width of a vertical scrollbar (such as in a combobox)

    I have a combox. I have successfully figured out how to set the font name and font size for each time, however as I have increased the normal very tiny size of the combobox items (now more legible), the remaining last problem is the measly 16 pixels for the scrollbar. This might be acceptable on a desktop with a precise cursor positioning system, but for mobile apps I need a way larger scrollbar thickness, perhaps 30 pixels. How does one set the scrollbar thickness for a combobox? I am willing to stick with scaled up icons from whatever is being drawn as a default, so if possible I would just like to set some style number. But can't find any documentation on this. The Apple system has a nasty fixed width scrollbar (20 pixels), and so far it seems Adobe Flash is using only 16. Great for when you are cramped but I am trying to UN-CRAMP the user interface!
    any help is greatly appreciated.  A free copy of Discus ($40 value) for whomever helps me solve this vexing problem with the least amount of effort!
    edj

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

  • How to set Width of a JPanel?

    I am overwirting paintComponent(Graphics g) method to
    draw some g2D in a JPanel.
    I want the drawing processing shown on screen (not flashed out after drawn because it is VERY SLOW).
    So that I CAN NOT use setsize() or setBound() because to change JPanle.width because this is NOT what I wanted(the graphics is shown AFTER is drawn).
    Everytime I call paintComponent(), the width of JPanel is changed.
    My question is : How can change JPanel.width without calling method like setsize() or setBound() .
    Thanks a lot!!

    My code too large, I just show some idea here:
    class caller (){
    myPanel p;
    Graphics2D g2 = (Graphics2D)p.getGraphics();
    //I nee to increase the p.width before call my_paint
    //I CAN NOT use setsize() or setBound()
    //because I want show the drawing process
    //on screen( and that is fast)
    p.my_paint(g2); // how to set p.width ??
    public class myPanel extends JPanel
    public void my_paint(Graphics2D g2)
    //Do my drawing here ,
    // I need to draw thousands of Line2D.
    public void paintComponent(Graphics g){
    Graphics2D g2 = (Graphics2D)g;
    my_paint(g2);

  • How to set width of a TextField ?

    Hi all,
    I want to use Polish in my javaME code , so I add //#style style_name before calls of constructor TextField.
    The problem is that when I run the application then the textfield is very small in width ! And when I try to enter a value inside then a big textarea is shown in the screen in which I enter the value ; and after that I click the "Ok" command item and I finally return to my form.
    I use a polish.css file to define the style.
    So how to set a width for a TextField ?
    Thank you very much indeed

    never mind. I forgot a line in my layout manager.

  • How to set width of cfgid in percentage?

    I have to make the cfgrid compatible irrespective of screen size. But it is not taking width in perecntage(giving error : Attribute vallidation error, height/width can not be given in percentage.)
    I put the cfgrid inside a div and set width of the div as 100%, but it has no effect on the cfgrid.
    Can anyone please give me a solution??
    I will be thankfull towards any helpfull suggestion.

    Then you have to find a way to get the browser to send information about screen size to ColdFusion. One way to do it is by means of AJAX. Another, in my opinion much simpler way, is to get Javascript to store the screen size as a cookie, and then to get ColdFusion to read the cookie. I was thinking of something like this
    <script type="text/javascript">
    var browserWidth = screen.width;
    var browserHeight = screen.height;
    var expiryDate=new Date();
    /*set expiry date tomorrow*/
    expiryDate.setDate(expiryDate.getDate()+1);
    document.cookie= 'browserWidth='+browserWidth+',browserHeight='+
                                browserHeight+',expires='+expiryDate;
    </script>
    <cfset percentWidth = 90>
    <cfif isDefined("cookie.browserWidth")>
        <cfset browserWidth = cookie.browserWidth>
    <cfelse>
        <cfset browserWidth = 800>
    </cfif>
    <cfset gridWidth = int(percentWidth*browserWidth/100)>
    <cfform>
    <cfgrid format="html" name = "myGrid" width="#gridWidth#">
    </cfgrid> 
    </cfform>

  • In ActiveX(OCX), How to Set "Choose paper source by PDF page size"

    Using Adobe Acrobat Reader ActiveX(ocx) in Delphi 7.
    I want to set "Choose paper source by PDF page size" value, in Source Code dynamically.
    Do you know how to set in Source Code?  Not in Print Dialog Window.
    Please help me. (.net or C# or any language.)

    I have this exact same question. Does anyone know if this is possible?
    Thank you,
    Ryan

  • How To set Header and Footer in MIDlet screen

    Hi Friends,
    How can i set header and footer in my screens .
    My need is that in header part ,my company's name shuld be display and in footer section "any thing".
    How can i achieve this things plz advice me.
    karan

    Hi Supareno,
    Can u tell me in details with small code, If it's
    possible for you .
    regards
    karandefine an header (coordinate 0,0)
    optional {
    a CustomItem? (coordinate 0, 0+header.getHeight() )
    another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
    etc...
    define footer (coordinate 0, getHeight() - footer.getHeight() )
    Message was edited by:
    supareno

  • How do Iget the contact photo to full screen size when recieving a call

    How do i get the contact photo to full screen size when recieving a call on my Iphone 4

    Meg St._Clair wrote:
    To the best of my knowledge, that's not a feature of the iPhone.
    Actually, its always been a feature.

  • How do i make site fit in diffrent screen Sizes?

    How do i make my site fit in all screen sizes?
    Thanks
    -Bryan

    "BryanRob" <[email protected]> wrote in
    message
    news:emsf4m$nhc$[email protected]..
    > Heres what i did i made a site about that size in
    photoshop then saved it
    > and
    > put it in dreamweaver in a layer and moved the layer so
    it woul dbe
    > centered
    > then i added this code to get backround colar <BODY
    bgcolor="#3c0404"
    > text="#000000"> and then added another layer on top
    just for text. What am
    > i
    > doing wrong? SOme people say it looks good some dont.
    What are you doing wrong?
    1. Creating the site in Photoshop (web sites shouldn't be
    made entirely of
    graphics..)
    2. Using Dreamweaver layers
    3. Using deprecated code to style the the background color
    instead of CSS...
    As far as how it looks, obviously we can't say anything
    unless we see it..
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • How to set width/height of iPad app in ipa file

    Hello,
    I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
    I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
    Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
    Any help?
    Tanu

    hi,
    How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
        <id>IPadApp</id>
        <filename>IPadApp</filename>
        <name>IPadApp</name>
        <version>v1</version>
         <initialWindow>
            <content>IPadApp.swf</content>
            <fullScreen>true</fullScreen>
            <autoOrients>true</autoOrients>
            <title>IPadApp</title>
            <aspectRatio>portrait</aspectRatio>
            <systemChrome>none</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <!-- Portrait -->       
            <width>768</width>
            <height>1024</height>       
            <!-- Landscape -->
            <!--
            <width>1024</width>
            <height>768</height>
            -->
            <!--<x>100</x>
            <y>100</y>-->
            </initialWindow>
        <supportedProfiles>desktop mobileDevice</supportedProfiles>
    <iPhone>
      <InfoAdditions>
      <![CDATA[
        <key>UIDeviceFamily</key>
        <array>
        <string>2</string>
        </array>
      ]]>
      </InfoAdditions>
      </iPhone>
    </application>
    Check your desc. file.
    -Vrushali

  • How to set width of a select list?

    Hi,
    another newbie question from me :-)
    When I create a select list the default width is 30, no matter what I set this value to the width of the select list stays the same, it gets as wide as the widest element in the list. This messes the design of the page. I f I have three select lists in a column I want them to have the same width. How do I accomplish that?
    /Magnus

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

Maybe you are looking for

  • Runtime.exec - Too Many Open Files

    System version : Red Hat Enterprise Linux 2.4.21-47.ELsmp AS release 3 (Taroon Update 8) JRE version : 1.6.0-b105 Important : the commands described below are launched from a Web application : Apache Tomcat 6.0.10 Hello, I'm facing a problem already

  • How do I get rid of a green and purple screen?

    How do I get rid of green and purple on my iPad screen?

  • Installing Functional Module as a Customer Extension

    Hi All, Am not a Basis guy and have stuck up in a issue at customer place. I need to import, install and activate function module as transport into the R/3 system. In Note # 1050096, there is a attachment with two files K900947.SM0 R900947.SM0 I need

  • Photoshop in Creative Cloud - no jpeg, save to web, etc

    I recently upgraded to paid subscription for creative cloud (single app/photoshop).  I didn't redownload the app, I merely licensed it, but now when I try to save a file it only allows me to save in psd, raw, tiff, etc.  It will not allow me to conve

  • Folio Builder Articles Update broken?

    I cannot get Article Update to work since updating the Folio Builder panel. The file seems to compile and upload. But after the upload a gray spinner appears next to the article in the panel list, and I'm unable to access it. I've let it run for 20-3