Changeset 209945 in webkit
- Timestamp:
- Dec 16, 2016 3:17:42 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209944 r209945 1 2016-12-16 Chris Dumez <cdumez@apple.com> 2 3 [iOS] Align HTML from validation popover style with Copy/Paste callout bar 4 https://bugs.webkit.org/show_bug.cgi?id=165973 5 <rdar://problem/29336638> 6 7 Reviewed by Simon Fraser. 8 9 Tweak font size and padding of the HTML from validation popover to 10 match the style of the Copy/Paste callout bar on iOS. 11 12 * platform/ios/ValidationBubbleIOS.mm: 13 (WebCore::ValidationBubble::ValidationBubble): 14 1 15 2016-12-16 Ryan Haddad <ryanhaddad@apple.com> 2 16 -
trunk/Source/WebCore/platform/ios/ValidationBubbleIOS.mm
r209414 r209945 35 35 36 36 SOFT_LINK_FRAMEWORK(UIKit); 37 SOFT_LINK_CLASS(UIKit, UIFont); 37 38 SOFT_LINK_CLASS(UIKit, UILabel); 38 39 SOFT_LINK_CLASS(UIKit, UIPopoverPresentationController); … … 93 94 namespace WebCore { 94 95 95 static const CGFloat horizontalPadding = 8;96 static const CGFloat verticalPadding = 8;96 static const CGFloat horizontalPadding = 17; 97 static const CGFloat verticalPadding = 9; 97 98 static const CGFloat maxLabelWidth = 300; 98 99 … … 110 111 RetainPtr<UILabel> label = adoptNS([[getUILabelClass() alloc] initWithFrame:CGRectZero]); 111 112 [label setText:message]; 113 [label setFont:[getUIFontClass() systemFontOfSize:14.0]]; 112 114 [label setLineBreakMode:NSLineBreakByWordWrapping]; 113 115 [label setNumberOfLines:4];
Note: See TracChangeset
for help on using the changeset viewer.