diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 19:08:41 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 19:08:41 +0000 |
commit | 58531df60b957442c986f947e6e1566fd9cf6084 (patch) | |
tree | 3241fcfe163bd7c38e192a2e98f4ed5ae61f3d4a /chrome/app/nibs/BookmarkNameFolder.xib | |
parent | f30b270652b285b73ca83fb77977c6712b230827 (diff) | |
download | chromium_src-58531df60b957442c986f947e6e1566fd9cf6084.zip chromium_src-58531df60b957442c986f947e6e1566fd9cf6084.tar.gz chromium_src-58531df60b957442c986f947e6e1566fd9cf6084.tar.bz2 |
Edit bookmark:
- new folder button should properly size
- the window should resize correctly
Folder name:
- the the label should auto size correctly and keep the edit field next to it
- the buttons should auto size and say right aligned.
TEST=both windows should work as listed (already were localized, just fixing sizing issues), try resizing edit bookmark and confirm buttons, titled, edits, size as expected.
BUG=20527
Review URL: http://codereview.chromium.org/180059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs/BookmarkNameFolder.xib')
-rw-r--r-- | chrome/app/nibs/BookmarkNameFolder.xib | 319 |
1 files changed, 217 insertions, 102 deletions
diff --git a/chrome/app/nibs/BookmarkNameFolder.xib b/chrome/app/nibs/BookmarkNameFolder.xib index 7271553..16cd437 100644 --- a/chrome/app/nibs/BookmarkNameFolder.xib +++ b/chrome/app/nibs/BookmarkNameFolder.xib @@ -2,13 +2,13 @@ <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03"> <data> <int key="IBDocument.SystemTarget">1050</int> - <string key="IBDocument.SystemVersion">9J61</string> + <string key="IBDocument.SystemVersion">9L30</string> <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.46</string> + <string key="IBDocument.AppKitVersion">949.54</string> <string key="IBDocument.HIToolboxVersion">353.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="2"/> + <integer value="18"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -48,35 +48,36 @@ <int key="NSvFlags">256</int> <object class="NSMutableArray" key="NSSubviews"> <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSTextField" id="1000877900"> + <object class="NSTextField" id="781907324"> <reference key="NSNextResponder" ref="1006"/> - <int key="NSvFlags">268</int> - <string key="NSFrame">{{17, 62}, {45, 17}}</string> + <int key="NSvFlags">266</int> + <string key="NSFrame">{{67, 60}, {393, 22}}</string> <reference key="NSSuperview" ref="1006"/> <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="383706794"> - <int key="NSCellFlags">68288064</int> + <object class="NSTextFieldCell" key="NSCell" id="80375196"> + <int key="NSCellFlags">-1804468671</int> <int key="NSCellFlags2">272630784</int> - <string key="NSContents">^IDS_BOOMARK_BAR_EDIT_FOLDER_LABEL</string> + <string key="NSContents"/> <object class="NSFont" key="NSSupport" id="11363697"> <string key="NSName">LucidaGrande</string> <double key="NSSize">1.300000e+01</double> <int key="NSfFlags">1044</int> </object> - <reference key="NSControlView" ref="1000877900"/> + <reference key="NSControlView" ref="781907324"/> + <bool key="NSDrawsBackground">YES</bool> <object class="NSColor" key="NSBackgroundColor"> <int key="NSColorSpace">6</int> <string key="NSCatalogName">System</string> - <string key="NSColorName">controlColor</string> + <string key="NSColorName">textBackgroundColor</string> <object class="NSColor" key="NSColor"> <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + <bytes key="NSWhite">MQA</bytes> </object> </object> <object class="NSColor" key="NSTextColor"> <int key="NSColorSpace">6</int> <string key="NSCatalogName">System</string> - <string key="NSColorName">controlTextColor</string> + <string key="NSColorName">textColor</string> <object class="NSColor" key="NSColor" id="200541051"> <int key="NSColorSpace">3</int> <bytes key="NSWhite">MAA</bytes> @@ -84,75 +85,94 @@ </object> </object> </object> - <object class="NSTextField" id="781907324"> + <object class="NSCustomView" id="823673800"> <reference key="NSNextResponder" ref="1006"/> - <int key="NSvFlags">266</int> - <string key="NSFrame">{{67, 60}, {393, 22}}</string> - <reference key="NSSuperview" ref="1006"/> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="80375196"> - <int key="NSCellFlags">-1804468671</int> - <int key="NSCellFlags2">272630784</int> - <string key="NSContents"/> - <reference key="NSSupport" ref="11363697"/> - <reference key="NSControlView" ref="781907324"/> - <bool key="NSDrawsBackground">YES</bool> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textBackgroundColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> + <int key="NSvFlags">289</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="166877485"> + <reference key="NSNextResponder" ref="823673800"/> + <int key="NSvFlags">289</int> + <string key="NSFrame">{{14, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="823673800"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1061805124"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">^IDS_APP_CANCEL</string> + <reference key="NSSupport" ref="11363697"/> + <reference key="NSControlView" ref="166877485"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">268435585</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">.</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> </object> </object> - <object class="NSColor" key="NSTextColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textColor</string> - <reference key="NSColor" ref="200541051"/> + <object class="NSButton" id="810399603"> + <reference key="NSNextResponder" ref="823673800"/> + <int key="NSvFlags">289</int> + <string key="NSFrame">{{110, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="823673800"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="869818464"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">^IDS_APP_OK</string> + <reference key="NSSupport" ref="11363697"/> + <reference key="NSControlView" ref="810399603"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">129</int> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> </object> </object> - </object> - <object class="NSButton" id="810399603"> - <reference key="NSNextResponder" ref="1006"/> - <int key="NSvFlags">289</int> - <string key="NSFrame">{{370, 12}, {96, 32}}</string> + <string key="NSFrame">{{260, 0}, {220, 52}}</string> <reference key="NSSuperview" ref="1006"/> - <bool key="NSEnabled">YES</bool> - <object class="NSButtonCell" key="NSCell" id="869818464"> - <int key="NSCellFlags">67239424</int> - <int key="NSCellFlags2">134217728</int> - <string key="NSContents">^IDS_APP_OK</string> - <reference key="NSSupport" ref="11363697"/> - <reference key="NSControlView" ref="810399603"/> - <int key="NSButtonFlags">-2038284033</int> - <int key="NSButtonFlags2">129</int> - <string key="NSAlternateContents"/> - <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> - <int key="NSPeriodicDelay">200</int> - <int key="NSPeriodicInterval">25</int> - </object> + <string key="NSClassName">GTMWidthBasedTweaker</string> </object> - <object class="NSButton" id="166877485"> + <object class="NSCustomView" id="981869567"> <reference key="NSNextResponder" ref="1006"/> - <int key="NSvFlags">289</int> - <string key="NSFrame">{{274, 12}, {96, 32}}</string> - <reference key="NSSuperview" ref="1006"/> - <bool key="NSEnabled">YES</bool> - <object class="NSButtonCell" key="NSCell" id="1061805124"> - <int key="NSCellFlags">67239424</int> - <int key="NSCellFlags2">134217728</int> - <string key="NSContents">^IDS_APP_CANCEL</string> - <reference key="NSSupport" ref="11363697"/> - <reference key="NSControlView" ref="166877485"/> - <int key="NSButtonFlags">-2038284033</int> - <int key="NSButtonFlags2">268435585</int> - <string key="NSAlternateContents"/> - <string key="NSKeyEquivalent">.</string> - <int key="NSPeriodicDelay">200</int> - <int key="NSPeriodicInterval">25</int> + <int key="NSvFlags">268</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="1000877900"> + <reference key="NSNextResponder" ref="981869567"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{17, 20}, {45, 17}}</string> + <reference key="NSSuperview" ref="981869567"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="383706794"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">^IDS_BOOMARK_BAR_EDIT_FOLDER_LABEL</string> + <reference key="NSSupport" ref="11363697"/> + <reference key="NSControlView" ref="1000877900"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlTextColor</string> + <reference key="NSColor" ref="200541051"/> + </object> + </object> + </object> </object> + <string key="NSFrame">{{0, 42}, {65, 57}}</string> + <reference key="NSSuperview" ref="1006"/> + <string key="NSClassName">GTMWidthBasedTweaker</string> </object> </object> <string key="NSFrameSize">{480, 102}</string> @@ -164,6 +184,9 @@ <object class="NSCustomObject" id="352865609"> <string key="NSClassName">ChromeUILocalizer</string> </object> + <object class="NSCustomObject" id="927199963"> + <string key="NSClassName">GTMUILocalizerAndLayoutTweaker</string> + </object> </object> <object class="IBObjectContainer" key="IBDocument.Objects"> <object class="NSMutableArray" key="connectionRecords"> @@ -202,11 +225,35 @@ </object> <object class="IBConnectionRecord"> <object class="IBOutletConnection" key="connection"> - <string key="label">owner_</string> - <reference key="source" ref="352865609"/> - <reference key="destination" ref="1001"/> + <string key="label">viewToResize_</string> + <reference key="source" ref="981869567"/> + <reference key="destination" ref="1005"/> + </object> + <int key="connectionID">19</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">viewToSlideAndResize_</string> + <reference key="source" ref="981869567"/> + <reference key="destination" ref="781907324"/> + </object> + <int key="connectionID">20</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">localizer_</string> + <reference key="source" ref="927199963"/> + <reference key="destination" ref="352865609"/> + </object> + <int key="connectionID">22</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">uiObject_</string> + <reference key="source" ref="927199963"/> + <reference key="destination" ref="1005"/> </object> - <int key="connectionID">16</int> + <int key="connectionID">23</int> </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> @@ -253,40 +300,54 @@ <reference key="object" ref="1006"/> <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="810399603"/> - <reference ref="166877485"/> <reference ref="781907324"/> - <reference ref="1000877900"/> + <reference ref="823673800"/> + <reference ref="981869567"/> </object> <reference key="parent" ref="1005"/> </object> <object class="IBObjectRecord"> - <int key="objectID">3</int> - <reference key="object" ref="1000877900"/> + <int key="objectID">5</int> + <reference key="object" ref="781907324"/> <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="383706794"/> + <reference ref="80375196"/> </object> <reference key="parent" ref="1006"/> </object> <object class="IBObjectRecord"> - <int key="objectID">4</int> - <reference key="object" ref="383706794"/> - <reference key="parent" ref="1000877900"/> + <int key="objectID">6</int> + <reference key="object" ref="80375196"/> + <reference key="parent" ref="781907324"/> </object> <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="781907324"/> + <int key="objectID">15</int> + <reference key="object" ref="352865609"/> + <reference key="parent" ref="1002"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">17</int> + <reference key="object" ref="823673800"/> <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="80375196"/> + <reference ref="166877485"/> + <reference ref="810399603"/> </object> <reference key="parent" ref="1006"/> </object> <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="80375196"/> - <reference key="parent" ref="781907324"/> + <int key="objectID">9</int> + <reference key="object" ref="166877485"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1061805124"/> + </object> + <reference key="parent" ref="823673800"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">10</int> + <reference key="object" ref="1061805124"/> + <reference key="parent" ref="166877485"/> </object> <object class="IBObjectRecord"> <int key="objectID">7</int> @@ -295,7 +356,7 @@ <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="869818464"/> </object> - <reference key="parent" ref="1006"/> + <reference key="parent" ref="823673800"/> </object> <object class="IBObjectRecord"> <int key="objectID">8</int> @@ -303,22 +364,31 @@ <reference key="parent" ref="810399603"/> </object> <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="166877485"/> + <int key="objectID">18</int> + <reference key="object" ref="981869567"/> <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1061805124"/> + <reference ref="1000877900"/> </object> <reference key="parent" ref="1006"/> </object> <object class="IBObjectRecord"> - <int key="objectID">10</int> - <reference key="object" ref="1061805124"/> - <reference key="parent" ref="166877485"/> + <int key="objectID">3</int> + <reference key="object" ref="1000877900"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="383706794"/> + </object> + <reference key="parent" ref="981869567"/> </object> <object class="IBObjectRecord"> - <int key="objectID">15</int> - <reference key="object" ref="352865609"/> + <int key="objectID">4</int> + <reference key="object" ref="383706794"/> + <reference key="parent" ref="1000877900"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">21</int> + <reference key="object" ref="927199963"/> <reference key="parent" ref="1002"/> </object> </object> @@ -339,6 +409,7 @@ <string>10.IBPluginDependency</string> <string>15.IBPluginDependency</string> <string>2.IBPluginDependency</string> + <string>21.IBPluginDependency</string> <string>3.IBPluginDependency</string> <string>4.IBPluginDependency</string> <string>5.IBPluginDependency</string> @@ -368,6 +439,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> </object> </object> <object class="NSMutableDictionary" key="unlocalizedProperties"> @@ -390,7 +462,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">16</int> + <int key="maxID">23</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -452,6 +524,49 @@ </object> </object> <object class="IBPartialClassDescription"> + <string key="className">GTMUILocalizerAndLayoutTweaker</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>localizerOwner_</string> + <string>localizer_</string> + <string>uiObject_</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>GTMUILocalizer</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="628813496"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">GTMWidthBasedTweaker</string> + <string key="superclassName">NSView</string> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>viewToResize_</string> + <string>viewToSlideAndResize_</string> + <string>viewToSlide_</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>NSView</string> + <string>NSView</string> + </object> + </object> + <reference key="sourceIdentifier" ref="628813496"/> + </object> + <object class="IBPartialClassDescription"> <string key="className">NSObject</string> <object class="IBClassDescriptionSource" key="sourceIdentifier"> <string key="majorKey">IBProjectSource</string> |