Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16642

iOS: separatorInsets are ignored when using TableView SearchBar

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: Release 3.2.2
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      iOS 7.0.3
      Titanium 3.2.1.GA
      Alloy 1.3.1

    • Sprint:
      To Be Scheduled

      Description

      I have a TableView that I want the separator line to go all the way across. I set the separatorInsets property to

      {left:0,right:0}

      .

      I then added a SearchBar to the table. When running the app, when I search, the matching tableviewrows display with the separator inset back to the default (it doesn't go all the way left).

      Sample Code:

      index.xml

      <Alloy>
      	<Window id="win" top="20" class="container">
      		<TableView id="mainTable">
      			<SearchBar hintText="Search Title" />
      			<TableViewRow title="Apple"></TableViewRow>
      			<TableViewRow title="Bears"></TableViewRow>
      			<TableViewRow title="Car"></TableViewRow>
      			<TableViewRow title="Da Bears"></TableViewRow>
      		</TableView>
      	</Window>
      </Alloy>
      

      index.tss

      "#mainTable": {
      	separatorInsets:{left:0,right:0},
      	filterAttribute:"title",
      }
      

      index.js

      $.win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                iotashan Shannon Hicks
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18487
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code