aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar/PSMTabBarControl.m
Commit message (Collapse)AuthorAgeFilesLines
* Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-30/+32
|
* - Change window change notifications from key change notifications to main ↵rowanbeentje2011-01-161-2/+2
| | | | change notifications - fixes issues with tab bars showing incorrect colours when displaying sheets
* More work on tab creation target and actionavenjamin2010-09-151-4/+30
|
* Add ability to double click the empty area of the tab bar to create a new tab.avenjamin2010-09-151-1/+19
| | | | - Slightly limited in that the addTabButton's target and action must be set for it to work.
* Tab tweaks:rowanbeentje2010-07-051-1/+3
| | | | | | - Improve hideForSingleTab: settings changes to only update the tab bar if only one tab exists; fixes tab sizing on drag start caused by placeholder cell/update tab bar display conflict - Improve tab drag location detection, particularly when dragging tabs into a new tab bar; drags into new tab bars now respond quickly and correctly
* Improve tab functionality, behaviour and interaction.rowanbeentje2010-06-301-7/+28
| | | | | | | | | | | | | | | | | | | | | PSMTabBar general improvements: - Fix a phantom tab appearing in windows a tab was just dragged out of - Add support for a new control usersSafariStyleDragging property; this causes tabs being dragged inside a tab bar to snap to the tab bar, be drawn at full transparency (also no longer darkening the placeholder position), and alters tab ordering within the tab bar to be based on the tab position rather than the mouse position, for a more Mac-like reordering feel. - Add support for dragging items onto the menubar to cancel the drag - Alter the image of the dragged tab to use a tab drawn onto a transparent background instead of snapshotting a rectangle around the tab, improving drag appearance - Allow tabs to be dragged partially off screen and keep their position instead of snapping back fully onto the screen - Improve behaviour when dragging tabs out of and back into tab bars, or into new windows, resizing the tabs in the target tab bar to improve display and no longer intermittently showing close buttons while dragging - Pull windows to the front as tabs are dragged onto their tab bars - Abstract Custom Query Editor text snippet code, adding a delegate method so code could be moved to the SP window manager. Sequel Pro tab styling improvements: - Improve and clean up tab drawing code - Draw background tabs with shadows as appropriate - Improve logic for how background tab edges are drawn, handling edges cases better (active tab in overflow menu etc) and vastly improving drawing when a tab is being dragged (respect placeholder position when stacking tabs, draw edges on either side) Sequel Pro tab behaviour improvements: - Improve show/hide tab bar interaction - Improve window positioning after creating new windows via a drag - Alter tab dragging out of the tab bar to use an image based on the full window appearance - looks better, and fixes issues like the tab bar background not being drawn while dragging
* • made SP more robust against fast closing of tabs and windowsBibiko2010-06-291-2/+2
| | | | • setHideForSingleTab:YES after opening spfs session
* Enable the "Sequel Pro" tab style by default, and include the following fixes:rowanbeentje2010-06-181-6/+3
| | | | | | | | - Fix display of the overflow menu - Improve tab spacing and internal layout - Improve tab names for documents to correctly show the database for background documents in additional cases - Update strings files
* • forgotten to remove debug logs for r2337Bibiko2010-06-171-1/+0
|
* • if a text string is dragged on tab this tab will be selected and the ↵Bibiko2010-06-171-1/+7
| | | | corresponding db doc switches to Custom Query editor to be able eg to drag a query from one tab to another one
* Initial stage of re styling the tab bar to actually look half decent.avenjamin2010-06-141-15/+26
| | | | | - Change line 373 of PSMTabBarControl to "SequelPro" to see new tabs. - The drawing of the tab edges needs to be redone on the very edge of each tab instead of being inset by a number pixels to resolve a few issues.
* - Replace the precompiled PSMTabBar framework with a build-from-source ↵rowanbeentje2010-06-071-0/+2120
dependency, in preparation for future code and style changes