Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
The right-aligned subviews of the prescription list table cells need to have their layout adjusted when the table is put into edit mode, either through overriding layoutSubviews() or putting in the rendering of that subview directly in the tableView:cellForRowAtIndexPath: method.
The solution will likely be to override layoutSubviews() with code that does a setFrame on the right subview. Possibly listen for UITableViewCell's didTransitionToState:state callback which will inform the cell when it is about to transition into/out-of edit mode.
Also see:
http://stackoverflow.com/questions/742829/animating-custom-drawn-uitableviewcell-when-entering-edit-mode