<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Resize container created by Splitter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824799#M660891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the SET_COLUMN_WIDTH or SET_ROW_HEIGHT for adjusting the window size of the containers instead of trying to change the container size. The methods are of the Splitter Container itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2007 13:25:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-26T13:25:51Z</dc:date>
    <item>
      <title>Resize container created by Splitter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824798#M660890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you can resize a container ( NOT custom container) created by splitter?&lt;/P&gt;&lt;P&gt;Methods get_height, get_width return value = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are excerpts from my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
      splitter_vh                   TYPE REF TO cl_gui_splitter_container,
      container_middle_left    TYPE REF TO cl_gui_container.
DATA:
  w_height TYPE i,
  w_width  TYPE i.


  CREATE OBJECT splitter_vh
    EXPORTING
      parent  = container_middle
      rows    = 1
      columns = 2.

  container_middle_left         = splitter_vh-&amp;gt;get_container( row = 1 column = 1 ). "  tedit1

  CALL METHOD container_middle_left-&amp;gt;get_height
    IMPORTING
      height = w_height.
  CALL METHOD container_middle_left-&amp;gt;get_width
    IMPORTING
      width = w_width.

  CALL METHOD container_middle_left-&amp;gt;set_height
    EXPORTING
      height = 1.
  CALL METHOD container_middle_left-&amp;gt;set_width
    EXPORTING
      width = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 13:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824798#M660890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Resize container created by Splitter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824799#M660891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the SET_COLUMN_WIDTH or SET_ROW_HEIGHT for adjusting the window size of the containers instead of trying to change the container size. The methods are of the Splitter Container itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 13:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824799#M660891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Resize container created by Splitter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824800#M660892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SKC, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I created 2 containers in my program -I just skipped that code in this post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  container_middle_left         = splitter_vh-&amp;gt;get_container( row = 1 column = 1 ). "  tedit1
  container_middle_right        = splitter_vh-&amp;gt;get_container( row = 1 column = 2 ). "  logo html&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have them of different row size. This is why your suggestion doesn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course - I can go and split container_middle_left  to make it of different size. &lt;/P&gt;&lt;P&gt;But why whould I do that if there are methods set_height and set_width for a container?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Tatyana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 13:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resize-container-created-by-splitter/m-p/2824800#M660892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T13:41:35Z</dc:date>
    </item>
  </channel>
</rss>

