Skip to content

Commit

Permalink
change size of version text button
Browse files Browse the repository at this point in the history
  • Loading branch information
tessus committed Jul 3, 2015
1 parent dc46eb5 commit 37ac25d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Classes/mongoPref.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ - (void)mainViewDidLoad {
daemonController.startArguments = arguments;

[versionText setTitle:version];
[versionText sizeToFit];

__weak typeof(theSlider) weakSlider = theSlider;
__weak typeof(pidtext) weakPidtext = pidtext;
Expand Down
10 changes: 5 additions & 5 deletions English.lproj/mongoPref.xib
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6751" systemVersion="13F1077" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6751" systemVersion="13F1096" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1050" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6751"/>
Expand Down Expand Up @@ -112,7 +112,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="148" id="150">
<rect key="frame" x="0.0" y="0.0" width="301" height="19"/>
<rect key="frame" x="0.0" y="0.0" width="317" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -144,7 +144,7 @@
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
</tableColumn>
<tableColumn identifier="deleteColumn" width="17" minWidth="10" maxWidth="3.4028234663852886e+38" id="173">
<tableColumn identifier="deleteColumn" width="33" minWidth="10" maxWidth="3.4028234663852886e+38" id="173">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -216,10 +216,10 @@
</textFieldCell>
</textField>
<button focusRingType="none" verticalHuggingPriority="750" id="O7B-ka-aIf">
<rect key="frame" x="20" y="20" width="80" height="21"/>
<rect key="frame" x="20" y="14" width="58" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="overlaps" alignment="left" focusRingType="none" imageScaling="proportionallyDown" inset="2" id="mqg-RL-bYM">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<behavior key="behavior" lightByContents="YES"/>
<font key="font" metaFont="system" size="10"/>
</buttonCell>
<connections>
Expand Down

0 comments on commit 37ac25d

Please sign in to comment.