CL_GUI_DOCKING_CONTAINER with fix size

Hi!
Is it possible to create instance of CL_GUI_DOCKING_CONTAINER with fix size?

lv_style = cl_gui_control=>ws_child + cl_gui_control=>ws_border + cl_gui_control=>ws_visible.
    CREATE OBJECT docking
      EXPORTING
        repid                       = repid
        dynnr                       = dynnr
        side                        = docking->dock_at_top
        ratio                       = 80
        style                       = lv_style
      EXCEPTIONS
        cntl_error                  = 1
        cntl_system_error           = 2
        create_error                = 3
        lifetime_error              = 4
        lifetime_dynpro_dynpro_link = 5
        OTHERS                      = 6

Similar Messages

  • Horizontal scrolling in a JTable with fixed-size columns

    Hello,
    I have come to a roadblock concerning the following issue. Perhaps someone can share their ideas...
    I have a JTable with three fixed-size columns. I implemented a JScrollPane with vertical and horizontal scrolling. However, the text inserted into the last column is too long to fit in the specified column width. I would like to be able to scroll the table so that I can view all of the text in the last column. Right now, the text cuts off and ends with three dots (...). Is there a way in which a horizontal scroll bar can be implemented to view all the text in the last column?
    Here is a portion of my code:
    num_of_rows_Table2 = (int) Math.pow(3, num_of_vars);
    String[] colunmNames_Table2 = {"Decimal Identifier", "Ternary Identifier", "Cancellation of nonimplicants"};
    dataModel2 = new DefaultTableModel(colunmNames_Table2, num_of_rows_Table2);
    SpaceOfTermsTable = new JTable(dataModel2);
    for (int z = 0; z < num_of_rows_Table2; z++)
    SpaceOfTermsTable.setRowHeight(z, row_height);
    SpaceOfTermsTable.setBounds(new Rectangle(x1_Table2, y1_Table2, width_of_pane2, height_pane2));
    SpaceOfTermsTable.getTableHeader().setReorderingAllowed(false);
    for (int i = 0; i < 2; i++)
    TableColumn col = SpaceOfTermsTable.getColumnModel().getColumn(i);
    col.setMinWidth(colwidth_Table2);
    col.setMaxWidth(colwidth_Table2);
    col.setPreferredWidth(colwidth_Table2);
    TableColumn lastcol = SpaceOfTermsTable.getColumnModel().getColumn(2); lastcol.setMinWidth(lastcol_Table2);
    lastcol.setMaxWidth(lastcol_Table2);
    lastcol.setPreferredWidth(lastcol_Table2);
    SpaceOfTermsTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    scrollPanel2 = new JScrollPane(SpaceOfTermsTable, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    scrollPanel2.setAutoscrolls(true);
    scrollPanel2.setBounds(new Rectangle(x1_Table2, y1_Table2, width_of_pane2, height_pane2));
    Thanks in advance for all of the help!

    Hi, I hava a similar problem than yours - can you tell me how you sorted out yer's?

  • Need help on implementation of a circular queue with fixed size

    The constructor of the queue is as below:
    RingBufferNode[] element;
    RingBufferNode firstFree;
    RingBufferNode firstFilled;
    public RingBufferQueue (int n) {
              element = new RingBufferNode[n];
              for(int i=0; i<element.length-1; i++){
                   element.next = element[i+1];
              element[element.length-2].next = element[element.length-1];
              element[element.length-1].next = element[0];
              firstFree = element[0];
              firstFilled = firstFree;
         }class RingBufferNode {
         public Object value;
         public RingBufferNode next;
         public RingBufferNode (RingBufferNode n)
              { next = n; }
    }Each node in the queue are expected to have a pointer "next" pointing to the next node in the queue, where the last one will be pointing to the first. When I called the constructor to create a new RingBufferQueue, the following error occurs:Exception in thread "main" java.lang.NullPointerExceptionI've tried to throw the exception however it seemed to be a useless move.
    Edited by: ewrhgqerh on Dec 11, 2008 5:31 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Sorry don't quite get what you want me to post, I'm a starter. It's not using a stack, but a queue instead. And the place where the compiler flagged the error is this line:
    element.next = element[i+1];                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Fixed size regions in Apex 4.0

    It is possible to create a fixed size regiion - that is only using half of the screen height to have a report (and having a bar to on the right to move up/down) ?
    I'm going to use it for a 2+ master-detail report.
    regards
    Mette

    Hi Mette,
    what region template and which theme are you exactly using? For most region templates you can pass in additional style attributes with the "Region Attributes" property in the "Attributes" section of a region definition.
    So for example you could use
    style=\"height:500px;overflow-y:scroll\"(remove the \ out of the code example)
    Regards
    Patrick

  • Hyper-V 2012 R2 - Fixed Size VHDX Have VMs Paused Due to Disk Space Shortage

    I am running Hyper-V Server 2012 R2 (Server Core).  I have an SSD boot drive and a 10 Tb Storage Space HDD (Double Pairty - RAID6) where all VMs are stored.
    I have one VM setup with an expanding VHDX file.  It is setup with thin provisioning for 2 Tb and about 1.5 Tb is currently used.  The VM paused due to physical disk space (SS drive) being low.  I turned off this VM and tried to start a different
    VM that has two fixed size VHDX files (also on the SS drive).  This second VM would not start either.  I got the same error message, as occurred on the first VM, about the physical disk space being low.  There was about 10-20 Mb of physical
    space left of my SS HDD when these errors occurred.
    Given the first VM is setup with an expanding VHDX that makes sense to me that at some point there may not be enough physical disk space for the VM to expand and continue to run.
    But given my second VM is using a fixed VHDX it doesn't make sense to me that I cannot get this VM to start.  Even if the Storage Space disk were completely full I would expect this VM to be able to start?
    Thanks for any assistance you can provide.
    Theokrat

    Hi Theokrat,
    "The HDD was setup with approximately 5 Tb storage pool as double parity."
    "My first VM has a 4 Tb fixed VHDX. Thus there was only about
    1 Tb free space left for the second VM."
    "And for the VMs I'm asking about I set up those options to point to my HDD which is the D drive."
    So, there are two VMs (the first VM has 4TB disk , the
    second VM has 1TB disk )and all of the VMs'  files
    are stored on the 5TB HDD (the 1TB VHDx is dynamical) .
    You turned off the second VM when it was paused due to lacking of disk space (before this the first VM is off ).
    When you start the first VM , it still can not start and the error arose again ,right ?
    If there is no any other factor led to disk usage increasing , I think the issue might be the startup memory of first VM is larger than or equal to the second VM's .
    Please try to check that , if it is true , you can try to set lower memory for the first VM then start it again .
    Best Regards
    Elton JI
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • PDFs are low res even with Fixed Resolution deselected

    Motion 5.0.6
    I am working on a project with a single pdf file imported from Illustrator. There are no other layers in the file, the pdf has no filters applied and Fixed Resolution is selected off. Render is set to Full resolution and Quality to Normal. For some reason the image displays in low resolution when I zoom in. Any ideas? Thanks.

    When no camera is present, you simply scale the PDF image, or you can manipulate the Position.Z paramater.
    Fixed Resolution is Motion's way of keeping the brakes on a file that has potential for unlimited resolution. It's a safety net designed to keep performance reasonable.
    When a PDF is imported, it comes into Motion with the document dimensions with which it was created, and Motion will render it on the canvas with those dimensions and set the resolution of the image with those dimensions. As long as Fixed Resolution is checked, it will be treated as a standard image even though it might contain vector shapes.
    You have the option of unchecking Fixed Resolution, which will unleash your PDF on Motion and possibly affect the performance of the application (PDF vectors can consume huge amounts of video RAM especially when scaled to very large sizes.)
    Another way to go, without unchecking Fixed Resolution is to change the dimensions of the PDF document, and Motion allows you to do that from within the application.
    Below is a PDF I imported. Note the dimensions of 298x278:
    (The Media tab is selected and the PDF layer is also selected -- then in the Inspector, the Media tab is where you'll find these controls [along with the Fixed Resolution checkbox... for those who might not know how to get to it])
    Scaling the image greater than 100% in the canvas will result in softening of the image (like any other plain image) with fixed resolution on.
    Below, I have modified the Fixed Width and Fixed Height (dragging one will automatically change the other based on the Pixel Aspect Ratio setting.)  In this example, I have reset the Fixed Width to 2000.0.
    I can now resize (scale) my PDF up to the dimensions I have set with Fixed Width/Height -- with Fixed Resolution still on, and still maintain a pristine vector appearance of the image (as long as the Canvas view is at 100% or less).
    It still limits the PDF vectors to reasonable limits and allows you to get the smooth line appearance you expect from vector shapes.
    PS - You could even take advantage of the Fixed Resolution degrading the image as it gets "closer" in view by tweaking those parameters to create the illusion of losing focus.
    HTH

  • How to set a fixed size window, so that moving 2D pictures wouldnt go off?

    Hi
    I dont if this question has been asked or no & also not sure if its right to be posted here as my problem is a java 2D graphics problem in swing environment.
    I want to know is how can i set the window to a fixed size with boundaries such that my graphics 2D picture in the swing window will not go off the edges of window when i do some transformations with the 2D picture.
    For e.g:
    so far ive got a frame window of size 350 by 350 with my 2D picture inside it made up of shapes etc...
    when i apply some transformation to it (moving it) for a distance it goes disappeared off window beyond 350 and will come back if i move it back.
    So how do i restrict the window so that when picture reaches the edge, it will not be able to move any further?
    Do i set some specific bounds to the JFrame?
    i hope i've explained it properly
    Thanks

    In a 2D coordinate system the horizontal values are represented by some letter, usually x. In the same coordinate system the vertical values are classically represented by y.
    Note: In your code, if you wish, you can replace x and y with anything you desire--p and q or perhaps jeff and alice or any variable name you wish, but for simplicity, and usually ease of understanding because almost everyone has had 100's of math problems drilled into their head with (x, y), x and y are used as convention.
    In Java the screen coordinates run from 0 to the width-1 for x and 0 to height-1 for y of the component you are using to display.
    So logically when you have a value of x or y that goes beyond the addressable bounds of your display, then you have to make some type of adjustment--when your value dips below 0, you reset it to 0, when your value goes above what ever width-1 or height-1 then you have to set that value to width-1 or height-1.
    This all assumes that when you hit the wall, floor, or ceiling you stick there until you change directions--if you wish to wrap then you set your value to the opposite bound--so if you go below 0, you would then pop out back in on the right side--your appropriate x would be set to width-1 instead of 0 and in the case of y going below 0 your y would be set to height-1. This is also to say that when you descend below your minimum, then you would pop back out on the opposite side you went out on--so x greater then width-1 would get set to 0 and y greater than height-1 would get set to 0.
    That is not even a start on if you want to include elastic collisions, angle of impact, any type of deceleration force, or anything else.
    In any case... I would recommend that you add more math to your studies, I've never met an engineer or computer science grad that said: "Wow, I really regret taking all that math in college (or HS), I never use it."

  • Is it possible to attach image with specific size?

    Hi,
    My company is very interested in Adobe LiveCycle Reader Extensions, as it suits most of our requirements. However, we want to know more about it.
    When our users submit their forms, they need to attach an image for submission as well. The image we need is fixed size, e.g. 800x600 pixels. Can Adobe LiveCycle Reader Extensions define the requirements of the attachment/image, i.e. if the user submit a 640x480 image, the acrobat reader will return an error so that the image with incorrect format won't be able to submit?

    I don't think that LiveCycle Reader Extensions is the product that you need to accomplish this.
    Can you give a bit more details of what you are trying to accomplish?
    Mike
    Mike Potter
    Adobe Enterprise Developer Relations

  • t:dataTable scrollable with fixed headers

    I need to make my dataTable scrollable with fixed headers, I have seen few solutions like having 2 data Tables one for headers and the other for columns and one more solution is CSS
    In the first solution the column widths in the both tables doesn't match( I think this can be fine tuned to have a fixed column size)
    Can some one help me out in doing this with CSS.

    I did some thing like this, please help me out my columns of botht ables doesn't match
    <htm:table>
    <htm:body>
    <htm:tr>
    <htm:td>
    <t:div>
    <t:div>
    <t:dataTable
         renderedIfEmpty="false"
         preserveDataModel="false"
         preserveSort="true"
         varDetailToggler="detailToggler"
         headerClass="alignLeft"
         rowClasses="oddTableRow,evenTableRow"
         columnClasses="lastName,namePrefix,firstName,middleName,nameSuffix,dirType,orgName,county,city,state,valid,select"
         rows="1"
         value="#{result.result}"
         var="legalProfessional">
    <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Last Name" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Name Prefix" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="First Name" style="font-size:8pt;" />
    </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Middle Name" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Name Suffix" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column >
              <f:facet name="header">
                   <h:outputText value="Dir Type" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Organization Name" style="font-size:8pt;" />
              </f:facet>
                   </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="County" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="City" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="State" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Valid" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column rendered="#{resultPage eq resultsBean.pageSearch}" defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Select" style="font-size:8pt;" />
              </f:facet>
         </t:column>
    </t:dataTable>
    </t:div>
    <t:div style="overflow:auto;height:50px">
    <t:dataTable
         renderedIfEmpty="false"
         preserveDataModel="false"
         preserveSort="true"
         varDetailToggler="detailToggler"
         headerClass="alignLeft"
         rowClasses="evenTableRow,oddTableRow"
         columnClasses="lastName,namePrefix,firstName,middleName,nameSuffix,dirType,orgName,county,city,state,valid,select"
         rows="#{sessionUserBean.user.resultsPerPageOption}"
         value="#{result.result}"
         var="legalProfessional">
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.lastName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.namePrefix}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.firstName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.middleName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.nameSuffix}" />
         </t:column>
         <t:column >     
              <h:outputText value="#{legalProfessional.directoryType}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:commandLink action="#{legalOrganizationSearchByNameBean.searchLegalOrganizationsByName}">
                 <h:outputText value="#{legalProfessional.relatedOrgNormName}" />
                   <t:updateActionListener property="#{legalOrganizationSearchByNameBean.name}" value="#{legalProfessional.organization}" />
                  <t:updateActionListener property="#{legalOrganizationSearchByNameBean.resultKey}" value="#{legalOrganizationBean.legalOrganizationsSearchResultKey}" />               
              </h:commandLink>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.county}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.city}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.normRegion}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <t:graphicImage value="images/yellow_check.jpg" border="0" />
         </t:column>
         <t:column rendered="#{resultPage eq resultsBean.pageSearch}" defaultSorted="false" sortable="true">
              <t:commandButton
                   id="viewLegalProfessionalCommand"
                   forceId="true"
                   title="#{bundle.view_entity_title}"
                   value="#{bundle.text_view_value}"
                   action="#{legalProfessionalBean.actionGotoView}">
                   <t:updateActionListener property="#{heavyWeightBean.uuid}" value="#{legalProfessional.profileUuid}" />
                   <t:updateActionListener property="#{legalProfessionalBean.LPAEntity}" value="#{legalProfessional}" />
              </t:commandButton>
         </t:column>
         <t:column rendered="#{pageStatus eq resultsBean.pageAdd || pageStatus eq resultsBean.pageEdit}">
              <!-- Employment relationship with general -->
              <t:commandButton
                   title="Make Employment Relationship."
                   rendered="#{result.key eq legalOrganizationBean.legalProfessionalsResultKey}"
                   value="Employment"
                   action="#{legalOrganizationBean.actionMakeEmploymentRelationship}">
                   <t:updateActionListener property="#{legalOrganizationBean.selectedLPAEntity}" value="#{legalProfessional}" />
              </t:commandButton>
              </t:column>
    </t:dataTable>
    </t:div>
    </t:div>
    </htm:td>
    </htm:tr>
    </htm:body>
    </htm:table>{.lastName{
    width:100px;
    .namePrefix{
    width:100px;
    .firstName{
    width:100px;
    .middleName{
    width:100px;
    .nameSuffix{
    width:100px;
    .dirType{
    width:100px;
    .orgName{
    width:100px;
    .county{
    width:150px;
    .city{
    width:250px;
    .state{
    width:100px;
    .valid{
    width:100px;
    .select{
    width:100px;
    code}

  • Fixing Size of Column in Cross Tab

    Plz tell me how to fix Size of column.in my case the data in column is not fixed so the output in PDF shows different size of Columns.I want want to fix them.
    plz help
    thanks in advance

    You can call (on your table) getColumnModel().getColumn(i).setWidth(), but that information is lost once you call tableStructureChanged in your table model. To solve this problem I use my own TableModel, which sets the with of the columns every time they are created:
    public class MColumnModel extends DefaultTableColumnModel {
         private int [] widths;
        public MColumnModel(int[] widths) {
              super();
              this.widths = widths;
         public TableColumn getColumn(int index) {
              TableColumn column = super.getColumn(index);
              if (column == null)
                   return column;
              column.setPreferredWidth(metaWidths [index]);
              return column;
    }Be sure to call setColumnModel before you call setModel on your table.
    The widths are relative. If you want to set absolute widths, you have to call
                   table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);Regards
    Der Hinterwaeldler

  • Is it possible to make a fixed size page in muse, so it doesn't resize?

    I want to make a fixed size page (pic1),
    but there always an extra space on the bottom… pic2

    Thank you for reply - I will check it out…
    Date: Wed, 18 Dec 2013 09:07:46 -0800
    From: [email protected]
    To: [email protected]
    Subject: Is it possible to make a fixed size page in muse, so it doesn't resize?
        Re: Is it possible to make a fixed size page in muse, so it doesn't resize?
        created by Zak Williamson (Adobe) in Help with using Adobe Muse CC - View the full discussion
    Assuming the screenshots are of the same page, the one that's taller is either taller because the minimum page height has been changed or due to some page content (that's not marked as a Footer Item) being located in the new space. This may be an empty text frame or the transparent area of a widget, text frame or other object.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5941664#5941664
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5941664#5941664
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5941664#5941664. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Help with using Adobe Muse CC at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • Picture with dynamic size?

    Hello,
    I post a Picture (OLE) on an CR Page. Depending on the parameters in the report, differnt pictures with different Sizes are selected. Now I want to fix the maximal hight and width of the space I reserve for the picture but keep the ratio between hight and width of the original. How can i do this?

    To achieve
    "Depending on the parameters in the report, differnt pictures with different Sizes are selected."
    Use conditional hiding in sections or in object hiding. Formula you can write.
    Right click any object  and select 'size and position'. There also you can write formula .
    or
    format the object you can find hieght widht write formula to meet the requirement.
    Regards
    Usma

  • Trouble with image size

    Hello everyone, I'm having some trouble with image sizes.
    I created a 977x5000 px image at 72 PX/inch resolution with text for use on a weebly website.
    When created the image looks like a small vertical bar(maybe around 50x500px) with a massive left and right photoshop background(not the image background). so if I drag the bottom slider to the left or right the image will completely disappear.  I can CTR and + to get it to the correct size so I can actually read the text. I can still go very far left and right with bottom slider. The problem comes in when I save it to a PNG or other file it still shows up as a bar.
    Is there any way to fix this so it saves it as the correct viewing size? that way when I open the image it's an actual 977x5000 instead of looking like a 50x500
    I'm on Windows 7, my display settings are at 100% and I'm using Photoshop  CC 2014

    You do not understand what is going on at all. First an image file's PX/inch resolution setting is meaningless when it come to the Web and displays all that is meaningful is pixels.  For displays are run at one resolution usually their native manufactured Pixel resolution so your image will be displayed at 96DPI on Desktop Displays and a 300+DPI on Phones and around 250DPI on tablets.  Your image  height is also to large to fit on any display.  The Display I think that displays the most pixels is the IBM T221 22.2" LCD 16:10 aspect ratio 3840px by 2400px.  at 204DPI.  Rotating  that display to portrait it can display an image with a height of 3840px your image height is larger 5000.  Your image has an aspect ratio in the neighborhood of 1:5  an image 50x500 has an aspect ratio of 1:10 a far cry from 1:5 your image is much wider then 1:10.
    IBM T220/T221 LCD monitors - Wikipedia, the free encyclopedia
    Most common display resolutions in the first half of 2014
    Acronym
    Aspect ratio
    Width (px)
    Height (px)
    % of Steam users
    % of web users
    SVGA
    4:3
    800
    600
    00.08
    00.64
    WSVGA
    ~17:10
    1024
    600
    00.17
    01.59
    XGA
    4:3
    1024
    768
    02.85
    09.84
    XGA+
    4:3
    1152
    864
    00.34
    00.85
    WXGA
    16:9
    1280
    720
    00.93
    01.65
    WXGA
    5:3
    1280
    768
    00.52
    01.09
    WXGA
    16:10
    1280
    800
    02.44
    08.90
    SXGA– (UVGA)
    4:3
    1280
    960
    00.35
    00.48
    SXGA
    5:4
    1280
    1024
    07.05
    05.74
    HD
    ~16:9
    1360
    768
    03.00
    02.43
    HD
    ~16:9
    1366
    768
    24.53
    26.64
    SXGA+
    4:3
    1400
    1050
    00.10
    n/a
    WXGA+
    16:10
    1440
    900
    05.74
    05.95
    HD+
    16:9
    1600
    900
    07.76
    04.99
    UXGA
    4:3
    1600
    1200
    00.30
    n/a
    WSXGA+
    16:10
    1680
    1050
    06.27
    02.96
    FHD
    16:9
    1920
    1080
    32.91
    08.64
    WUXGA
    16:10
    1920
    1200
    02.11
    00.95
    QWXGA
    16:9
    2048
    1152
    00.08
    n/a
    WQHD
    16:9
    2560
    1440
    00.93
    00.58
    WQXGA
    16:10
    2560
    1600
    00.13
    n/a
    3:4
    768
    1024
    n/a
    05.31
    16:9
    1093
    614
    n/a
    00.64
    16:9
    1536
    864
    n/a
    00.70
    Other
    01.41
    09.42

  • Setting fixed size screen resolution in Arch VirtualBox guests...

    Hello everyone.,
    I've installed an Arch Linux 64-bit guest os in Windows 7 64-bit host. And i've also installed guest additions succesfully.
    Now I need to restrict X to 720x1280 (720p) screen size for screen capturing.
    I've already tried few methods for resizing it:
    1) Tried disabling AutoResize in VirtualBox.
    2) Tried to hint the display size in global settings (VirtualBox => File => Preferences => Display), but when I enter X it fits automatically the whole window again.
    3) Tried to write a configuration file in "/etc/X11/xorg.conf.d/90-monitor.conf" (as explained in Xorg wiki page), but it still doesn't work. I couldn't find my monitor Identifier name, tried several ("VBox0", "Screen0", etc...)
    4) Tried to generate single Xorg conf file ("sudo Xorg -configure"), but it terminates with error: "Missing output drivers. Configuration Failed".
    And also i've googled anything related to fixed size screen WITH guest additions (which I still need for shared folders), seems nobody actually asked for it.
    Any help will be appriciated, thanks.,

    What is native resolution? 1080?
    Do you need a window with guest os smaller than host video?
    Did you try to set resolution on X guest and enabling autoscaled feature in VirtualBox?

Maybe you are looking for