OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_UTIL_CRUILABEL_ATTRIBUTEUTILS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_UTIL_CRUILABEL_ATTRIBUTEUTILS_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 @interface UILabel (CRUILabelAttributeUtils) |
| 11 @property(nonatomic, assign, setter=cr_setLineHeight:) CGFloat cr_lineHeight; |
| 12 |
| 13 // Adjusts the line height of the reciever so that the lines will evenly f |
| 14 - (void)cr_adjustLineHeightForMaximimumLines:(NSUInteger)maximumLines; |
| 15 |
| 16 @end |
| 17 |
| 18 #endif // IOS_CHROME_BROWSER_UI_UTIL_CRUILABEL_ATTRIBUTEUTILS_H_ |
OLD | NEW |