File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ class TrialCardHeaderView: UIView {
9393 addSubview ( titleLabel)
9494 applyLabelStyles ( to: titleLabel)
9595
96+ titleLabel. setContentHuggingPriority ( . defaultHigh, for: . horizontal)
9697 titleLabel. translatesAutoresizingMaskIntoConstraints = false
9798 let titleInsets = UIEdgeInsets ( top: ExperimentCardView . innerVerticalPadding,
9899 left: ExperimentCardView . innerHorizontalPadding,
@@ -104,6 +105,7 @@ class TrialCardHeaderView: UIView {
104105 addSubview ( durationLabel)
105106 applyLabelStyles ( to: durationLabel)
106107
108+ durationLabel. setContentHuggingPriority ( . defaultLow, for: . horizontal)
107109 durationLabel. translatesAutoresizingMaskIntoConstraints = false
108110 let durationInsets = UIEdgeInsets ( top: ExperimentCardView . innerVerticalPadding,
109111 left: 0 ,
You can’t perform that action at this time.
0 commit comments