Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-321

iPhone: Long headers in custom GroupedViews don't display correctly

    Details

      Description

      {html}<div><p>Long headers in custom GroupedViews don't display correctly when
      a text color is not specified.</p>
      <p>The problem can be reproduced by making these changes to
      custom_grouped_view.html in KitchenSink:</p>
      <ol>
      <li>In section 1, amend the header from <code>Header</code> to
      <code>This grouped view provides an example of an unusually long
      header</code>.<br></li>
      <li>In section 1, omit the line which reads
      <code>color:'white'</code>.</li>
      </ol>
      <p>When the color parameter is omitted, the start of the header is
      forced off the top of the screen and can't be seen.</p>
      <p>The expected result is that which occurs when a text color is
      specified - i.e. the header is truncated and an ellipsis is added.
      (But note that there have been <a href=
      "http://support.appcelerator.net/discussions/support/661-overlapping-text-in-groupedsection">
      other requests</a> for this behaviour to be modified e.g. by
      optionally text-wrapping instead of truncating.)</p>
      <p><strong>Examples and screenshots</strong></p>
      <p><a href=
      "http://support.appcelerator.net/discussions/titanium-mobile-discussion/1049-header-in-custom-grouped-view">
      http://support.appcelerator.net/discussions/titanium-mobile-discuss...</a></p>
      <p><a href=
      "http://support.appcelerator.net/discussions/titanium-mobile-discussion/1115-long-header-not-displaying-correctly-with-grouped-view">
      http://support.appcelerator.net/discussions/titanium-mobile-discuss...</a></p>
      <p><a href=
      "http://support.appcelerator.net/discussions/titanium-mobile-discussion/1131-since-upgrading-to-08-this-has-been-happening">
      http://support.appcelerator.net/discussions/titanium-mobile-discuss...</a></p></div>{html}

        Activity

        Hide
        Vikramjeet Singh added a comment -

        Custom_grouped_view.html (as described in bug) does not exist So, checked and changed views.js and table_views.js in Kitchen Sink application to make required changes and it works perfectly fine.

        Show
        Vikramjeet Singh added a comment - Custom_grouped_view.html (as described in bug) does not exist So, checked and changed views.js and table_views.js in Kitchen Sink application to make required changes and it works perfectly fine.
        Hide
        Vikramjeet Singh added a comment -

        Issue is not valid, does not reproduce in:

        TiMOB sdk version 1.7.2
        Studio version 1.0.2
        OS version Mac OSX Lion
        Devices tested on – iPhone Simulator, iPhone 4.2.9

        Show
        Vikramjeet Singh added a comment - Issue is not valid, does not reproduce in: TiMOB sdk version 1.7.2 Studio version 1.0.2 OS version Mac OSX Lion Devices tested on – iPhone Simulator, iPhone 4.2.9

          People

          • Assignee:
            Jeff Haynie
            Reporter:
            James K
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development