Alexander Ljungberg
a66942b1b1
Fix and tweak toolbar margins.
2012-06-13 01:40:20 +01:00
Alexander Ljungberg
acd3425c43
Dynamic CPToolbar height,
...
* Support for tall custom widgets. You can now finally have that CPTableView you always wanted in your toolbar.
* "Labels only" mode now makes sense, resulting in a narrow text only toolbar instead of a very tall toolbar with centred labels.
* Use any size toolbar icons such as 48x48 and the toolbar adapts automatically (unlike Cocoa).
2012-06-13 01:26:33 +01:00
Alexander Ljungberg
70bc45ba12
Toolbar CPToolbarDisplayModeIconOnly support.
2012-06-12 23:26:43 +01:00
Alexander Ljungberg
026c210e64
Toolbar CPToolbarDisplayModeIconOnly support.
2012-06-12 23:05:16 +01:00
Alexander Ljungberg
3bc1849041
Improve toolbar item layout.
...
The height of all items is determined by the tallest item, like in Cocoa. But unlike Cocoa our toolbar is presently fixed height so in order to make this look well for small or large items, the whole row of items is now vertically centred, making the allocation of margin above and below automatic.
Furthermore if a toolbar item has a small view or a small icon, it is now centred within the available space above the label. For example, for a tiny icon in one item next to a normal size icon the tiny icon would be centre aligned with the larger icon.
2012-06-12 23:04:33 +01:00
Antoine Mercadal
17668aca17
Merge remote-tracking branch 'upstream/master'
2012-06-12 11:59:26 -07:00
Antoine Mercadal
2a48b0ca54
make actualResizeEvent a private method
2012-06-12 11:57:19 -07:00
Alexander Ljungberg
2a955884b8
Fix header.
2012-06-11 13:14:00 +01:00
Alexander Ljungberg
ad5403b538
Setting the shadow style just once will do.
2012-06-11 13:13:36 +01:00
cacaodev
25a4a00b16
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-07 15:08:51 +02:00
cacaodev
299a664b9c
CPTableView -selectedColumn : missing return statement
2012-06-06 14:24:28 +02:00
Blair Duncan
eeceaa0c9b
unlite if mouse is moved off and cursor up hilites last item if none
2012-06-01 20:17:09 -04:00
cacaodev
36bbab1d84
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-05-27 22:29:39 +02:00
Blair Duncan
96cba7281a
removed unnecessary comment and updated test file
2012-05-26 22:13:22 -04:00
aparajita
954ec26e80
Merge pull request #1551 from ggsato/subclassingDocController
...
fixed shared CPDocumentController instantiation and added its test
2012-05-26 12:44:18 -07:00
cacaodev
63e8c732cc
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-05-26 08:04:10 +02:00
cacaodev
086c0e6ef0
Merge remote-tracking branch 'upstream/master' into CPTableView-content-binding
2012-05-26 08:03:56 +02:00
ggsato
fabe1d8991
formatting and now subclassing is tested by Open a document
2012-05-26 11:08:57 +09:00
Alexander Ljungberg
288ec78c3e
Fixed: split view autosave.
...
The fix to prevent incorrect autosaving prevented correct autosaving as well.
2012-05-26 00:04:12 +01:00
Martin Carlberg
2f875615a2
Removed hardcoded width in disclosure button
2012-05-25 11:14:43 +02:00
Martin Carlberg
49adcd85fc
Removed useless space after capp_lint warning
2012-05-25 10:54:10 +02:00
Martin Carlberg
8e785c2210
Removed set and get methods and blank line before if added.
2012-05-25 10:47:07 +02:00
Alexander Ljungberg
aa4eff9f8d
Format code, fix accidental global.
2012-05-25 00:04:46 +01:00
Alexander Ljungberg
09d5957c82
Code formatting.
2012-05-24 23:40:15 +01:00
ggsato
2a0ee14130
wrapped window.status clear statement
2012-05-25 01:52:09 +09:00
Alexander Ljungberg
e25394a322
Code formatting.
2012-05-24 17:10:46 +01:00
ggsato
ab1dc15393
moved types declaration
2012-05-24 23:58:59 +09:00
ggsato
3a750591bb
moved types declaration
2012-05-24 23:55:04 +09:00
ggsato
7da9877c5f
fixed shared CPDocumentController instantiation and added its test
2012-05-24 23:12:07 +09:00
Adam Radabaugh
253d7497ef
Merge branch 'master' of git://github.com/cappuccino/cappuccino
2012-05-23 00:15:22 -06:00
Aparajita Fishman
1efc2e3c15
Fixed parsing in CGSizeFromString and CGPointFromString
2012-05-22 12:52:54 -07:00
Adam Radabaugh
909c6ed171
Fix style issue in CPControl
2012-05-19 16:56:57 -06:00
Adam Radabaugh
a47a5b76eb
Fix style issue in CPButton.j
2012-05-18 23:15:26 -06:00
Adam Radabaugh
919bfb7960
Fix style issue in CPControl
2012-05-18 17:11:04 -06:00
Jiva DeVoe
d205c4eac7
updating to remove a comment and to fix a formatting issue
2012-05-18 10:25:06 -07:00
Jiva DeVoe
18662deec6
removed the if statement before the invalidate
2012-05-17 23:52:41 -07:00
Jiva DeVoe
d955eceafa
fixed an errant semicolon
2012-05-17 23:34:26 -07:00
Jiva DeVoe
995d529fb7
Added a very hacky workaround for the jittery resize bug in webkit. Ref: https://github.com/cappuccino/cappuccino/issues/1325
2012-05-17 23:10:04 -07:00
Aparajita Fishman
d4e460dac5
When popover closes implicitly, popoverShouldClose delegate method should be called.
...
Added extra button popover to test -close method, which does not consult popoverShouldClose.
2012-05-17 17:02:45 -07:00
cacaodev
0314005e0e
Added CPImage -data. If needed, generates data for canvas compatible browsers. Added a test in CPImageViewTest where an image is created from the data of another image
2012-05-17 23:02:49 +02:00
cacaodev
7831085a97
Merge remote-tracking branch 'upstream/master' into CPImageView-bindings
...
Conflicts:
Tests/Manual/CPImageViewbindingsTest/Resources/MainMenu.cib
2012-05-17 14:01:20 +02:00
cacaodev
dfb2340e83
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-05-16 21:02:03 +02:00
cacaodev
db8f2fdf75
Added support for CPTableView content binding, generally used with view-based tables.
...
Grouped the 3 ways to set objectValue on a dataview (content binding, column value binding or regular delegate method) under one main method: _setObjectValueFortableColumn:row:ForView:
Also fixed a bug where the dragging rows didn't have their bindings applied. Columns and row dragging are now using the previous method for setting data view objectValue.
Updated TableBindings example: table with content binding vs. columns with value binding.
2012-05-16 15:57:26 +02:00
Adam Radabaugh
7ab20145d1
Merge branch 'master' of git://github.com/cappuccino/cappuccino
...
Conflicts:
Tests/Manual/CPButtonTest/Resources/MainMenu.cib
2012-05-15 14:15:03 -06:00
Blair Duncan
5f7d1e8dc3
controlDidFailToFormatString should send a string not an HTML element
2012-05-15 16:07:56 -04:00
cacaodev
8a10105f48
CPPopover typo: setBehaviour: -> setBehavior:
2012-05-15 21:42:14 +02:00
Darrell Walisser
098f72651c
-correct documentation
2012-05-12 15:05:48 -04:00
Darrell Walisser
8c1d147319
-remove next sheet context hack
...
-order of notifications/didEndSelect are correct now
2012-05-12 14:22:54 -04:00
Martin Carlberg
183260d9e3
Added a themed attribute for round rect selection of rows.
...
Selections in the tableview can now have round corners. The default is a regular
rect, but if the selecction radius is changed. Nice good looking round rect
selections will appear.
2012-05-11 16:14:14 +02:00
Alexander Ljungberg
e72093c91e
Merge pull request #1531 from BlairDuncan/cappuccino
...
---
2012-05-10 15:50:10 +01:00