Skip to content

Commit

Permalink
Set UIAccessibilityTraitButton for QButtonElement.
Browse files Browse the repository at this point in the history
  • Loading branch information
olgeni committed Apr 2, 2016
1 parent 4f19449 commit 11a46df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quickdialog/QButtonElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
cell.textLabel.textAlignment = self.appearance.buttonAlignment;
cell.textLabel.font = self.appearance.labelFont;
cell.textLabel.textColor = self.enabled ? self.appearance.actionColorEnabled : self.appearance.actionColorDisabled;
cell.accessibilityTraits = UIAccessibilityTraitButton;
return cell;
}

Expand Down

0 comments on commit 11a46df

Please sign in to comment.