forked from organicmaps/organicmaps
Removed dialog label storyboard runtime attribute and set it programmatically
Signed-off-by: Pavel Petrenko <remedy7789@gmail.com>
This commit is contained in:
parent
3df07d1628
commit
d504321445
2 changed files with 1 additions and 3 deletions
|
@ -85,6 +85,7 @@ using namespace storage;
|
|||
self.nodeSize.hidden = NO;
|
||||
self.nodeSize.textColor = [UIColor blackSecondaryText];
|
||||
self.nodeSize.text = formattedSize(nodeAttrs.m_mwmSize);
|
||||
self.nodeSize.font = [UIFont medium14].monospaced;
|
||||
|
||||
switch (nodeAttrs.m_status) {
|
||||
case NodeStatus::NotDownloaded:
|
||||
|
|
|
@ -35,9 +35,6 @@
|
|||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="medium14:blackSecondaryText"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</label>
|
||||
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iyV-Rb-bea">
|
||||
<rect key="frame" x="20" y="135" width="160" height="44"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue