Revision: 25812 http://sourceforge.net/p/bibdesk/svn/25812 Author: hofman Date: 2021-05-01 14:04:24 +0000 (Sat, 01 May 2021) Log Message: ----------- Use auto layout for preferences window, at least for control view. replace localized xib files by strings files.
Modified Paths: -------------- trunk/bibdesk/BDSKPreferenceController.m trunk/bibdesk/Base.lproj/BDSKPreferences.xib trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj Added Paths: ----------- trunk/bibdesk/de.lproj/BDSKPreferences.strings trunk/bibdesk/fr.lproj/BDSKPreferences.strings Removed Paths: ------------- trunk/bibdesk/de.lproj/BDSKPreferences.xib trunk/bibdesk/fr.lproj/BDSKPreferences.xib Modified: trunk/bibdesk/BDSKPreferenceController.m =================================================================== --- trunk/bibdesk/BDSKPreferenceController.m 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/BDSKPreferenceController.m 2021-05-01 14:04:24 UTC (rev 25812) @@ -609,19 +609,31 @@ if (NSMaxY(contentRect) > NSMaxY(screenRect)) contentRect.origin.y = NSMaxY(screenRect) - NSHeight(contentRect); + BOOL wasIcons = [oldView isEqual:[self iconView]]; + BOOL isIcons = [view isEqual:[self iconView]]; + NSArray *constraints = nil; + if (wasIcons) + constraints = [NSArray arrayWithObjects: + [NSLayoutConstraint constraintWithItem:controlView attribute:NSLayoutAttributeLeading relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeLeading multiplier:1.0 constant:0.0], + [NSLayoutConstraint constraintWithItem:controlView attribute:NSLayoutAttributeTrailing relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeTrailing multiplier:1.0 constant:0.0], + [NSLayoutConstraint constraintWithItem:controlView attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeBottom multiplier:1.0 constant:0.0], nil]; + NSTimeInterval duration = [NSAnimationContext defaultAnimationTimeInterval]; if (display && duration > 0.0) { duration = fmax(duration, [window animationResizeTime:contentRect]); [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context){ [context setDuration:duration]; - if ([view isEqual:[self iconView]]) + if (isIcons) { [[controlView animator] removeFromSuperview]; - else if ([oldView isEqual:[self iconView]]) + } else if (wasIcons) { [[contentView animator] addSubview:controlView]; - if ([oldView superview]) + [contentView addConstraints:constraints]; + } + if ([oldView superview]) { [[contentView animator] replaceSubview:oldView with:view]; - else + } else { [[contentView animator] addSubview:view]; + } [[window animator] setFrame:contentRect display:YES]; } completionHandler:^{ @@ -628,10 +640,12 @@ [window recalculateKeyViewLoop]; }]; } else { - if ([view isEqual:[self iconView]]) + if (isIcons) { [controlView removeFromSuperview]; - else if ([oldView isEqual:[self iconView]]) + } else if (wasIcons) { [contentView addSubview:controlView]; + [contentView addConstraints:constraints]; + } // don't use replaceSubview:with: because oldView can be nil here [oldView removeFromSuperview]; [contentView addSubview:view]; Modified: trunk/bibdesk/Base.lproj/BDSKPreferences.xib =================================================================== --- trunk/bibdesk/Base.lproj/BDSKPreferences.xib 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/Base.lproj/BDSKPreferences.xib 2021-05-01 14:04:24 UTC (rev 25812) @@ -49,13 +49,11 @@ </connections> <point key="canvasLocation" x="-118" y="505"/> </searchField> - <customView id="11" userLabel="Custom View"> - <rect key="frame" x="0.0" y="0.0" width="480" height="32"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="11" userLabel="Custom View"> + <rect key="frame" x="0.0" y="0.0" width="472" height="32"/> <subviews> - <button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="14"> - <rect key="frame" x="450" y="4" width="25" height="25"/> - <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> + <button horizontalHuggingPriority="749" verticalHuggingPriority="749" horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="14"> + <rect key="frame" x="435" y="7" width="18" height="19"/> <buttonCell key="cell" type="help" bezelStyle="helpButton" alignment="center" controlSize="small" borderStyle="border" inset="2" id="33"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -64,9 +62,8 @@ <action selector="showHelp:" target="-2" id="25"/> </connections> </button> - <button verticalHuggingPriority="750" id="13"> - <rect key="frame" x="97" y="1" width="96" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> + <button horizontalHuggingPriority="749" verticalHuggingPriority="749" horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="13"> + <rect key="frame" x="84" y="1" width="74" height="27"/> <buttonCell key="cell" type="push" title="Reset All" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="32"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -75,9 +72,8 @@ <action selector="revertAllDefaults:" target="-2" id="27"/> </connections> </button> - <button verticalHuggingPriority="750" id="12"> - <rect key="frame" x="3" y="1" width="96" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> + <button horizontalHuggingPriority="749" verticalHuggingPriority="749" horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="12"> + <rect key="frame" x="14" y="1" width="74" height="27"/> <buttonCell key="cell" type="push" title="Reset" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="31"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -87,6 +83,17 @@ </connections> </button> </subviews> + <constraints> + <constraint firstItem="13" firstAttribute="width" secondItem="12" secondAttribute="width" id="12N-kO-mgl"/> + <constraint firstItem="14" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="13" secondAttribute="trailing" constant="12" symbolic="YES" id="ERq-ON-A80"/> + <constraint firstItem="14" firstAttribute="firstBaseline" secondItem="12" secondAttribute="firstBaseline" id="EhS-fG-XQz"/> + <constraint firstItem="12" firstAttribute="leading" secondItem="11" secondAttribute="leading" constant="20" symbolic="YES" id="Fu4-OB-Vul"/> + <constraint firstAttribute="trailing" secondItem="14" secondAttribute="trailing" constant="20" symbolic="YES" id="QOq-uL-ktY"/> + <constraint firstItem="13" firstAttribute="leading" secondItem="12" secondAttribute="trailing" constant="8" symbolic="YES" id="T6z-H3-nbb"/> + <constraint firstAttribute="height" constant="32" id="Xuu-VY-kTA"/> + <constraint firstItem="12" firstAttribute="centerY" secondItem="11" secondAttribute="centerY" id="hfg-5t-ORk"/> + <constraint firstItem="13" firstAttribute="firstBaseline" secondItem="12" secondAttribute="firstBaseline" id="jRp-Gf-xZ4"/> + </constraints> <point key="canvasLocation" x="139" y="378"/> </customView> <segmentedControl verticalHuggingPriority="750" id="w7M-cg-K3y"> Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj =================================================================== --- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2021-05-01 14:04:24 UTC (rev 25812) @@ -1450,7 +1450,6 @@ CE3D8DAA125E69BB00AE0232 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; }; CE3D8DAF125E69BB00AE0232 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = de.lproj/NotesWindow.xib; sourceTree = "<group>"; }; CE3D8DB0125E69BB00AE0232 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Preferences.strings; sourceTree = "<group>"; }; - CE3D8DB1125E69BB00AE0232 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = de.lproj/BDSKPreferences.xib; sourceTree = "<group>"; }; CE3D8DB2125E69BB00AE0232 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = de.lproj/Previewer.xib; sourceTree = "<group>"; }; CE3D8DB3125E69BB00AE0232 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = de; path = de.lproj/ReadMe.rtf; sourceTree = "<group>"; }; CE3D8DB8125E69BB00AE0232 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/ServicesMenu.strings; sourceTree = "<group>"; }; @@ -1818,7 +1817,6 @@ CEB5D67A1072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/BibPref_TeX.xib; sourceTree = "<group>"; }; CEB5D6831072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/FileMatcherConfigSheet.xib; sourceTree = "<group>"; }; CEB5D6881072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/NotesWindow.xib; sourceTree = "<group>"; }; - CEB5D68B1072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/BDSKPreferences.xib; sourceTree = "<group>"; }; CEB5D68C1072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/Previewer.xib; sourceTree = "<group>"; }; CEB5D6961072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/TemplateDocument.xib; sourceTree = "<group>"; }; CEB5D6971072AE950001C135 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = fr.lproj/TextImport.xib; sourceTree = "<group>"; }; @@ -1828,6 +1826,8 @@ CEB9D5CE126CF0A400C1FADB /* de */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = de; path = de.lproj/WebGroupDownloads.html; sourceTree = "<group>"; }; CEBC676C0B4A845F00CE0B2D /* BDSKSearchGroupViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKSearchGroupViewController.h; sourceTree = "<group>"; }; CEBC676D0B4A845F00CE0B2D /* BDSKSearchGroupViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKSearchGroupViewController.m; sourceTree = "<group>"; }; + CEBF0CF2263D972000AE4E09 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/BDSKPreferences.strings; sourceTree = "<group>"; }; + CEBF0CF3263D972100AE4E09 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/BDSKPreferences.strings; sourceTree = "<group>"; }; CEBF7AE518F2EB6300012ECD /* WokSearchLiteService.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WokSearchLiteService.h; sourceTree = "<group>"; }; CEBF7AE618F2EB6300012ECD /* WokSearchLiteService.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WokSearchLiteService.m; sourceTree = "<group>"; }; CEC1CEA50F51D2CE00D18921 /* BDSKReadWriteLock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKReadWriteLock.h; sourceTree = "<group>"; }; @@ -5024,6 +5024,8 @@ isa = PBXVariantGroup; children = ( CEB0C6B126385D8400B63A29 /* en */, + CEBF0CF2263D972000AE4E09 /* fr */, + CEBF0CF3263D972100AE4E09 /* de */, ); name = BDSKPreferences.strings; sourceTree = "<group>"; @@ -5845,8 +5847,6 @@ CEB5D5F41072AE360001C135 /* BDSKPreferences.xib */ = { isa = PBXVariantGroup; children = ( - CEB5D68B1072AE950001C135 /* fr */, - CE3D8DB1125E69BB00AE0232 /* de */, CEB0C6192638508500B63A29 /* Base */, ); name = BDSKPreferences.xib; Added: trunk/bibdesk/de.lproj/BDSKPreferences.strings =================================================================== (Binary files differ) Index: trunk/bibdesk/de.lproj/BDSKPreferences.strings =================================================================== --- trunk/bibdesk/de.lproj/BDSKPreferences.strings 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/de.lproj/BDSKPreferences.strings 2021-05-01 14:04:24 UTC (rev 25812) Property changes on: trunk/bibdesk/de.lproj/BDSKPreferences.strings ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Deleted: trunk/bibdesk/de.lproj/BDSKPreferences.xib =================================================================== --- trunk/bibdesk/de.lproj/BDSKPreferences.xib 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/de.lproj/BDSKPreferences.xib 2021-05-01 14:04:24 UTC (rev 25812) @@ -1,137 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> - <dependencies> - <deployment identifier="macosx"/> - <development version="8000" identifier="xcode"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/> - <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> - </dependencies> - <objects> - <customObject id="-2" userLabel="File's Owner" customClass="BDSKPreferenceController"> - <connections> - <outlet property="controlView" destination="11" id="18"/> - <outlet property="goLeftRightButton" destination="Dp3-fg-D5R" id="RNK-1a-3CD"/> - <outlet property="helpButton" destination="14" id="24"/> - <outlet property="iconsButton" destination="w7M-cg-K3y" id="iZm-bz-snI"/> - <outlet property="revertAllButton" destination="13" id="23"/> - <outlet property="revertButton" destination="12" id="22"/> - <outlet property="searchField" destination="7" id="10"/> - <outlet property="titleField" destination="Gmd-Ky-YDU" id="G8d-z2-qDe"/> - <outlet property="window" destination="1" id="5"/> - </connections> - </customObject> - <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> - <customObject id="-3" userLabel="Application" customClass="NSObject"/> - <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="1" userLabel="Window (Window)" customClass="BDSKPreferenceWindow"> - <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/> - <windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/> - <rect key="contentRect" x="196" y="240" width="480" height="270"/> - <rect key="screenRect" x="0.0" y="0.0" width="1280" height="775"/> - <view key="contentView" id="2"> - <rect key="frame" x="0.0" y="0.0" width="480" height="270"/> - <autoresizingMask key="autoresizingMask"/> - </view> - <connections> - <outlet property="delegate" destination="-2" id="6"/> - </connections> - <point key="canvasLocation" x="139" y="147"/> - </window> - <searchField verticalHuggingPriority="750" textCompletion="NO" id="7" userLabel="Search Field"> - <rect key="frame" x="0.0" y="0.0" width="96" height="22"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" bezelStyle="round" id="30"> - <font key="font" metaFont="system"/> - <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> - </searchFieldCell> - <connections> - <action selector="search:" target="-2" id="9"/> - </connections> - <point key="canvasLocation" x="-118" y="505"/> - </searchField> - <customView id="11" userLabel="Custom View"> - <rect key="frame" x="0.0" y="0.0" width="480" height="32"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> - <subviews> - <button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="14"> - <rect key="frame" x="450" y="4" width="25" height="25"/> - <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="help" bezelStyle="helpButton" alignment="center" controlSize="small" borderStyle="border" inset="2" id="33"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="showHelp:" target="-2" id="25"/> - </connections> - </button> - <button verticalHuggingPriority="750" id="13"> - <rect key="frame" x="99" y="1" width="122" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="push" title="Alle Zurücksetzen" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="32"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="revertAllDefaults:" target="-2" id="27"/> - </connections> - </button> - <button verticalHuggingPriority="750" id="12"> - <rect key="frame" x="3" y="1" width="98" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="push" title="Zurücksetzen" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="31"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="revertPaneDefaults:" target="-2" id="26"/> - </connections> - </button> - </subviews> - <point key="canvasLocation" x="139" y="378"/> - </customView> - <segmentedControl verticalHuggingPriority="750" id="w7M-cg-K3y"> - <rect key="frame" x="0.0" y="0.0" width="36" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <segmentedCell key="cell" borderStyle="border" alignment="left" style="texturedRounded" trackingMode="momentary" id="b2h-wa-r4I"> - <font key="font" metaFont="system"/> - <segments> - <segment image="NSIconViewTemplate" width="30"/> - </segments> - </segmentedCell> - <connections> - <action selector="showAll:" target="-2" id="9ki-1F-9wT"/> - </connections> - <point key="canvasLocation" x="139" y="475"/> - </segmentedControl> - <segmentedControl verticalHuggingPriority="750" id="Dp3-fg-D5R"> - <rect key="frame" x="0.0" y="0.0" width="61" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <segmentedCell key="cell" borderStyle="border" alignment="left" tag="1" style="texturedRounded" trackingMode="momentary" id="I8H-Do-JaY"> - <font key="font" metaFont="system"/> - <segments> - <segment image="NSGoLeftTemplate" width="25"/> - <segment image="NSGoRightTemplate" width="25"/> - </segments> - </segmentedCell> - <connections> - <action selector="showNextPreviousPane:" target="-2" id="AWg-y7-xxu"/> - </connections> - <point key="canvasLocation" x="10" y="464"/> - </segmentedControl> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="Gmd-Ky-YDU"> - <rect key="frame" x="0.0" y="0.0" width="4" height="16"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <textFieldCell key="cell" lineBreakMode="clipping" id="EvQ-g1-O7M"> - <font key="font" usesAppearanceFont="YES"/> - <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - <point key="canvasLocation" x="17" y="535"/> - </textField> - </objects> - <resources> - <image name="NSGoLeftTemplate" width="10" height="14"/> - <image name="NSGoRightTemplate" width="10" height="14"/> - <image name="NSIconViewTemplate" width="15" height="14"/> - </resources> -</document> Added: trunk/bibdesk/fr.lproj/BDSKPreferences.strings =================================================================== (Binary files differ) Index: trunk/bibdesk/fr.lproj/BDSKPreferences.strings =================================================================== --- trunk/bibdesk/fr.lproj/BDSKPreferences.strings 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/fr.lproj/BDSKPreferences.strings 2021-05-01 14:04:24 UTC (rev 25812) Property changes on: trunk/bibdesk/fr.lproj/BDSKPreferences.strings ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Deleted: trunk/bibdesk/fr.lproj/BDSKPreferences.xib =================================================================== --- trunk/bibdesk/fr.lproj/BDSKPreferences.xib 2021-05-01 06:30:23 UTC (rev 25811) +++ trunk/bibdesk/fr.lproj/BDSKPreferences.xib 2021-05-01 14:04:24 UTC (rev 25812) @@ -1,137 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> - <dependencies> - <deployment identifier="macosx"/> - <development version="8000" identifier="xcode"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/> - <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> - </dependencies> - <objects> - <customObject id="-2" userLabel="File's Owner" customClass="BDSKPreferenceController"> - <connections> - <outlet property="controlView" destination="11" id="18"/> - <outlet property="goLeftRightButton" destination="Dp3-fg-D5R" id="RNK-1a-3CD"/> - <outlet property="helpButton" destination="14" id="24"/> - <outlet property="iconsButton" destination="w7M-cg-K3y" id="iZm-bz-snI"/> - <outlet property="revertAllButton" destination="13" id="23"/> - <outlet property="revertButton" destination="12" id="22"/> - <outlet property="searchField" destination="7" id="10"/> - <outlet property="titleField" destination="Gmd-Ky-YDU" id="G8d-z2-qDe"/> - <outlet property="window" destination="1" id="5"/> - </connections> - </customObject> - <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> - <customObject id="-3" userLabel="Application" customClass="NSObject"/> - <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="1" userLabel="Window (Window)" customClass="BDSKPreferenceWindow"> - <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/> - <windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/> - <rect key="contentRect" x="196" y="240" width="480" height="270"/> - <rect key="screenRect" x="0.0" y="0.0" width="1280" height="775"/> - <view key="contentView" id="2"> - <rect key="frame" x="0.0" y="0.0" width="480" height="270"/> - <autoresizingMask key="autoresizingMask"/> - </view> - <connections> - <outlet property="delegate" destination="-2" id="6"/> - </connections> - <point key="canvasLocation" x="139" y="147"/> - </window> - <searchField verticalHuggingPriority="750" textCompletion="NO" id="7" userLabel="Search Field"> - <rect key="frame" x="0.0" y="0.0" width="96" height="22"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" bezelStyle="round" id="30"> - <font key="font" metaFont="system"/> - <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> - </searchFieldCell> - <connections> - <action selector="search:" target="-2" id="9"/> - </connections> - <point key="canvasLocation" x="-118" y="505"/> - </searchField> - <customView id="11" userLabel="Custom View"> - <rect key="frame" x="0.0" y="0.0" width="480" height="32"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> - <subviews> - <button horizontalHuggingPriority="750" verticalHuggingPriority="750" id="14"> - <rect key="frame" x="450" y="4" width="25" height="25"/> - <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="help" bezelStyle="helpButton" alignment="center" controlSize="small" borderStyle="border" inset="2" id="33"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="showHelp:" target="-2" id="25"/> - </connections> - </button> - <button verticalHuggingPriority="750" id="13"> - <rect key="frame" x="115" y="1" width="114" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="push" title="Tout réinitialiser" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="32"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="revertAllDefaults:" target="-2" id="27"/> - </connections> - </button> - <button verticalHuggingPriority="750" id="12"> - <rect key="frame" x="3" y="1" width="114" height="28"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <buttonCell key="cell" type="push" title="Réinitialiser" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="31"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="message" size="11"/> - </buttonCell> - <connections> - <action selector="revertPaneDefaults:" target="-2" id="26"/> - </connections> - </button> - </subviews> - <point key="canvasLocation" x="139" y="378"/> - </customView> - <segmentedControl verticalHuggingPriority="750" id="w7M-cg-K3y"> - <rect key="frame" x="0.0" y="0.0" width="36" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <segmentedCell key="cell" borderStyle="border" alignment="left" style="texturedRounded" trackingMode="momentary" id="b2h-wa-r4I"> - <font key="font" metaFont="system"/> - <segments> - <segment image="NSIconViewTemplate" width="30"/> - </segments> - </segmentedCell> - <connections> - <action selector="showAll:" target="-2" id="9ki-1F-9wT"/> - </connections> - <point key="canvasLocation" x="139" y="475"/> - </segmentedControl> - <segmentedControl verticalHuggingPriority="750" id="Dp3-fg-D5R"> - <rect key="frame" x="0.0" y="0.0" width="61" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <segmentedCell key="cell" borderStyle="border" alignment="left" tag="1" style="texturedRounded" trackingMode="momentary" id="I8H-Do-JaY"> - <font key="font" metaFont="system"/> - <segments> - <segment image="NSGoLeftTemplate" width="25"/> - <segment image="NSGoRightTemplate" width="25"/> - </segments> - </segmentedCell> - <connections> - <action selector="showNextPreviousPane:" target="-2" id="AWg-y7-xxu"/> - </connections> - <point key="canvasLocation" x="10" y="464"/> - </segmentedControl> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="Gmd-Ky-YDU"> - <rect key="frame" x="0.0" y="0.0" width="4" height="16"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - <textFieldCell key="cell" lineBreakMode="clipping" id="EvQ-g1-O7M"> - <font key="font" usesAppearanceFont="YES"/> - <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - <point key="canvasLocation" x="17" y="535"/> - </textField> - </objects> - <resources> - <image name="NSGoLeftTemplate" width="10" height="14"/> - <image name="NSGoRightTemplate" width="10" height="14"/> - <image name="NSIconViewTemplate" width="15" height="14"/> - </resources> -</document> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit