Closed folivi closed 11 years ago
I assume you are seeing the UITableViewCellSeparator itself, even if there is only 1 row the divider is drawn down the rest of the screen.
# inside your menu controller
self.separatorStyle = UITableViewCellSeparatorStyleNone
thanks for the quick reply. but I've already tried this by doing self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone in the will_appear method but the result of this is no separtor is displayed at all which not really what I'm trying to achieve
This is probably helpful, @folivi : http://stackoverflow.com/questions/1633966/can-i-force-a-uitableview-to-hide-the-separator-between-empty-cells
thanks @jamonholmgren one solution is (in the navigation tableScreen)
def on_create(args={})
super
self.tableView.setTableFooterView(UIView.new)
end
Maybe this can be added by default in the pro_motion_slide_menu gem? :) Any news about the bug while invoking remote_image in a tableView that I reported a while ago? This might be something really easy. As reminder, the issue is the imageView in a the tableView is nil untill you tap on a cell or scroll up and down cheers guys.
Unfortunately, I haven't had time to do much with it. New baby, business growth, yadda yadda. I'm hoping someone else will take the time to dig into it.
cool for now I use the classic tableView way to make it work Cheers
Hi, How to avoid having more cells than the number of items in the menu table? I'd like the table to contain only 5 cells if my cells array only contains 5 items thanks for your help