diff options
-rw-r--r-- | Juick/Views/MessageInputView.m | 5 | ||||
-rw-r--r-- | Juick/Views/MessageInputView.xib | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/Juick/Views/MessageInputView.m b/Juick/Views/MessageInputView.m index 147a508..24c8b41 100644 --- a/Juick/Views/MessageInputView.m +++ b/Juick/Views/MessageInputView.m @@ -7,7 +7,12 @@ // #import "MessageInputView.h" +#import "ColorScheme.h" @implementation MessageInputView +-(void) awakeFromNib { + [super awakeFromNib]; + self.contentView.backgroundColor = [ColorScheme headerBackground]; +} @end diff --git a/Juick/Views/MessageInputView.xib b/Juick/Views/MessageInputView.xib index 54ba547..8eae920 100644 --- a/Juick/Views/MessageInputView.xib +++ b/Juick/Views/MessageInputView.xib @@ -23,22 +23,22 @@ <rect key="frame" x="6" y="6" width="592" height="75"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" verticalCompressionResistancePriority="248" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Swn-59-jWb"> - <rect key="frame" x="0.0" y="0.0" width="592" height="31"/> + <rect key="frame" x="0.0" y="0.0" width="592" height="32.5"/> <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> <stackView opaque="NO" contentMode="scaleToFill" verticalCompressionResistancePriority="749" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="e2q-59-qlo"> - <rect key="frame" x="0.0" y="37" width="592" height="38"/> + <rect key="frame" x="0.0" y="38.5" width="592" height="36.5"/> <subviews> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="infoLight" showsTouchWhenHighlighted="YES" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZXm-ce-xjB"> - <rect key="frame" x="0.0" y="0.0" width="44" height="38"/> + <rect key="frame" x="0.0" y="0.0" width="44" height="36.5"/> <constraints> <constraint firstAttribute="width" constant="44" id="chf-2p-LxF"/> </constraints> </button> <textView multipleTouchEnabled="YES" contentMode="scaleToFill" horizontalHuggingPriority="252" horizontalCompressionResistancePriority="749" scrollEnabled="NO" keyboardDismissMode="interactive" textAlignment="natural" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="alc-Oi-DBv"> - <rect key="frame" x="56" y="0.0" width="480" height="38"/> + <rect key="frame" x="56" y="0.0" width="480" height="36.5"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/> <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> @@ -50,7 +50,7 @@ </userDefinedRuntimeAttributes> </textView> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9h3-lP-1PC"> - <rect key="frame" x="548" y="0.0" width="44" height="38"/> + <rect key="frame" x="548" y="0.0" width="44" height="36.5"/> <constraints> <constraint firstAttribute="width" constant="44" id="QvX-xP-ypC"/> </constraints> |