title: Tizen 4: Why is a box container not able to hold another layout?
body: <p>I create a box container on Tizen 4.0:</p>
  <pre><code>Evas_Object* box = elm_box_add(naviframe);
  evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
  evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
  evas_object_show(box);
  elm_object_content_set(naviframe, box);
  </code></pre>
  <p>Then I want to add a layout from edje into the box:</p>
  <pre><code>Evas_Object* page = elm_layout_add(box);
  elm_layout_file_set(page, &quot;layout.edj&quot;, &quot;groupname_in_layout&quot;);
  evas_object_show(page);
  elm_box_pack_end(box, page); 
  </code></pre>
  <p>Then I push the box into the screen:</p>
  <pre><code>elm_naviframe_item_push(naviframe, NULL, NULL, NULL, box, &quot;empty&quot;);
  </code></pre>
  <p><strong>But the layout is not displaying on the emulator.</strong></p>
  <p>However, if I just simply add the layout to the naviframe (and not to the box), <strong>it's displayed</strong>:</p>
  <pre><code>//elm_box_pack_end(box, page); 
  elm_naviframe_item_push(naviframe, NULL, NULL, NULL, page, &quot;empty&quot;);
  </code></pre>
  <p><strong>It is also displayed</strong> if I programmatically create a label and put it into the box:</p>
  <pre><code>Evas_Object* text = elm_label_add(box);
  elm_object_text_set(text, &quot;&lt;align=center&gt;Hello Tizen&lt;/align&gt;&quot;);
  evas_object_show(text);
  elm_box_pack_end(box, text);
  
  elm_naviframe_item_push(naviframe, NULL, NULL, NULL, box, &quot;empty&quot;);
  </code></pre>
  <p>Why on Earth denies a Box layout to contain the only reasonable layout in Tizen (<em>Layout</em>)?? Especially after reading their &quot;<em>docs</em>&quot;:</p>
  <blockquote>
  <p>You can add any Evas object to the box.</p>
  </blockquote>
  <p>Based on my knowledge, &quot;any&quot; means any: so a <em>Layout</em> is also part of the group named &quot;any&quot;.</p>