Please sign in to comment.
Fix #39: Badges not drawn correctly when Source List row is selected.
This fix consists of two parts: 1) We first need to check the backgroundStyle property in PXSourceListBadgeCell to determine whether to draw the light badge background or not. 2) Next we need to determine whether the enclosing Source List (or child view) is focused to decide whether to draw the badge text using the bright blue or grey-blue. To do this, we walk up the view hierarchy from the common ancestor view of the controlView and firstResponder until we hit a PXSourceList instance. If we find one, then the source list is selected, otherwise not. Walking up the tree from the common ancestor view catches the highly- unlikely but possible scenario where there are two PXSourceList instances on screen and one is focused.
- Loading branch information...
Showing with 20 additions and 2 deletions.