Compose screen: Fix long display names overlapping character count
This commit is contained in:
parent
50d641eb59
commit
1da5af9b37
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14810.11" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14810.12" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14766.13"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14766.15"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
<capability name="iOS 13.0 system colors" minToolsVersion="11.0"/>
|
||||
|
|
|
@ -38,8 +38,10 @@ class LargeAccountDetailView: UIView, PreferencesAdaptive {
|
|||
avatarImageView.topAnchor.constraint(equalTo: topAnchor, constant: 8),
|
||||
avatarImageView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -8),
|
||||
displayNameLabel.leadingAnchor.constraint(equalTo: avatarImageView.trailingAnchor, constant: 8),
|
||||
displayNameLabel.trailingAnchor.constraint(equalTo: trailingAnchor),
|
||||
displayNameLabel.topAnchor.constraint(equalTo: topAnchor, constant: 8),
|
||||
usernameLabel.leadingAnchor.constraint(equalTo: avatarImageView.trailingAnchor, constant: 8),
|
||||
usernameLabel.trailingAnchor.constraint(equalTo: trailingAnchor),
|
||||
usernameLabel.topAnchor.constraint(equalTo: displayNameLabel.bottomAnchor)
|
||||
])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue