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 Sep 28, 2014
1 parent c5891e6 commit ad0c69a
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 @@ -42,6 +42,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 ad0c69a

Please sign in to comment.