diff options
author | Max <post@wickenrode.com> | 2017-04-01 06:01:59 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2017-04-01 06:12:51 +0200 |
commit | d1373bf8ce6b42179669d4001fa027ca1a6e2ec6 (patch) | |
tree | 8a7c86ec94bfa0a9bcad1302c4ec7deadb2ac3ea | |
parent | 4ad2e844c29ea8f6c90d957d4ee2e20c13c4b492 (diff) | |
download | sequelpro-d1373bf8ce6b42179669d4001fa027ca1a6e2ec6.tar.gz sequelpro-d1373bf8ce6b42179669d4001fa027ca1a6e2ec6.tar.bz2 sequelpro-d1373bf8ce6b42179669d4001fa027ca1a6e2ec6.zip |
Fix drawing artifacts in some table views on OS X < 10.11
This was caused by Apple increasing the table view header row height from 17 to 23 and as usual assuming any older versions of OS X will magically cease to exist on the next day…
Note that the 10.11+ runtime is perfectly capable of increasing the height as needed, but the older ones won’t shrink it.
-rw-r--r-- | Interfaces/English.lproj/DBView.xib | 22 | ||||
-rw-r--r-- | Interfaces/English.lproj/ExportDialog.xib | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index c0930c8a..8742c655 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -595,10 +595,10 @@ </connections> </button> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="18" horizontalPageScroll="10" verticalLineScroll="18" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="231"> - <rect key="frame" x="-1" y="22" width="692" height="307"/> + <rect key="frame" x="-1" y="22" width="692" height="306"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <clipView key="contentView" id="07n-i9-O0i"> - <rect key="frame" x="1" y="0.0" width="690" height="306"/> + <rect key="frame" x="1" y="0.0" width="690" height="305"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tableView identifier="TableStructureColumnsTableView" focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" alternatingRowBackgroundColors="YES" multipleSelection="NO" autosaveName="SPTableStructureSource" rowHeight="16" headerView="3926" id="232" customClass="SPTableView"> @@ -675,7 +675,7 @@ </buttonCell> <tableColumnResizingMask key="resizingMask" userResizable="YES"/> </tableColumn> - <tableColumn identifier="binary" width="37" minWidth="14" maxWidth="37" id="749"> + <tableColumn identifier="binary" width="37" minWidth="14" maxWidth="39" id="749"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Binary"> <font key="font" metaFont="smallSystem"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> @@ -809,7 +809,7 @@ <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="3926"> - <rect key="frame" x="0.0" y="0.0" width="690" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="690" height="17"/> <autoresizingMask key="autoresizingMask"/> <connections> <outlet property="menu" destination="8056" id="Uxa-5O-Q0T"/> @@ -1025,7 +1025,7 @@ <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="3923"> - <rect key="frame" x="0.0" y="0.0" width="690" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="690" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -1397,7 +1397,7 @@ <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="3920"> - <rect key="frame" x="0.0" y="0.0" width="694" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="694" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -1818,7 +1818,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="7227"> - <rect key="frame" x="0.0" y="0.0" width="694" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="694" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -2451,7 +2451,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="5545"> - <rect key="frame" x="0.0" y="0.0" width="694" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="694" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -2638,7 +2638,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="6704"> - <rect key="frame" x="0.0" y="0.0" width="694" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="694" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -4355,7 +4355,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="8145"> - <rect key="frame" x="0.0" y="0.0" width="752" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="752" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> @@ -4885,7 +4885,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="6890"> - <rect key="frame" x="0.0" y="0.0" width="358" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="358" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> diff --git a/Interfaces/English.lproj/ExportDialog.xib b/Interfaces/English.lproj/ExportDialog.xib index 5b21f8a9..dd1f4f13 100644 --- a/Interfaces/English.lproj/ExportDialog.xib +++ b/Interfaces/English.lproj/ExportDialog.xib @@ -456,7 +456,7 @@ Gw <autoresizingMask key="autoresizingMask"/> </scroller> <tableHeaderView key="headerView" id="1226"> - <rect key="frame" x="0.0" y="0.0" width="412" height="23"/> + <rect key="frame" x="0.0" y="0.0" width="412" height="17"/> <autoresizingMask key="autoresizingMask"/> </tableHeaderView> </scrollView> |