Skip to content

Commit

Permalink
[Catalog] Disable editing of description text
Browse files Browse the repository at this point in the history
Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D521
  • Loading branch information
Junius Gunaratne committed Apr 7, 2016
1 parent 2acbf96 commit ae9d5ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion catalog/MDCCatalog/NodeViewController.swift
Expand Up @@ -168,7 +168,8 @@ class NodeViewController: CBCNodeListViewController {
tableView.frame.size.width - 40,
(MDCTypography.captionFont().lineHeight) * 3)
textView.autoresizingMask = .FlexibleWidth
textView.contentInset = UIEdgeInsetsMake(-8, -5, -8, -5);
textView.contentInset = UIEdgeInsetsMake(-8, -5, -8, -5)
textView.editable = false
sectionViewFrame = CGRectMake(0, 0, tableView.frame.size.width, descriptionSectionHeight)
sectionView.frame = sectionViewFrame
sectionView.addSubview(textView)
Expand Down

0 comments on commit ae9d5ae

Please sign in to comment.