Antoine Mercadal
ecdb064a5b
Makes CPButton to dim image when disabled by default
2012-06-13 15:21:45 -07:00
Antoine Mercadal
d67a03bfb4
make disabled buttonbar buttons more visible
2012-06-13 14:30:26 -07:00
Antoine Mercadal
c361d7a52a
Merge branch 'new-cpbuttonbar-artwork'
2012-06-13 10:12:05 -07:00
Antoine Mercadal
4a4aa5fc10
update artwork for CPButtonBar
2012-06-12 19:03:32 -07:00
Alexander Ljungberg
8791195673
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-06-13 02:21:07 +01:00
Alexander Ljungberg
72374257ef
Minor optimisation and clean up.
2012-06-13 02:20:58 +01:00
Alexander Ljungberg
1b9def2101
Allow asymmetric toolbar margins. Foundation for theming.
...
Toolbars cannot be themed yet but when theming becomes possible this code should adapt readily.
2012-06-13 02:17:13 +01:00
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
299a664b9c
CPTableView -selectedColumn : missing return statement
2012-06-06 14:24:28 +02: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
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
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
Aparajita Fishman
1efc2e3c15
Fixed parsing in CGSizeFromString and CGPointFromString
2012-05-22 12:52:54 -07: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
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
Alexander Ljungberg
e72093c91e
Merge pull request #1531 from BlairDuncan/cappuccino
...
---
2012-05-10 15:50:10 +01:00
Blair Duncan
74431972d8
added missing LOG math global and replaced any math. with correspoinding global
2012-05-10 08:55:19 -04:00
Alexander Ljungberg
bdcc1539ac
Use an ephemeral subview for the bar of a progress indicator.
...
This is clearer code and avoids encoding the 'pill view' automatically.
2012-05-03 20:40:50 +01:00
Alexander Ljungberg
da055f83b3
Fixed: CPProgressIndicator encoder wasted space and caused errors.
...
The errors would cause exceptions such as "Not allowed to load local resource: file:///<some local path from the machine that ran nib2cib>" when loading cib driven app through a web server.
2012-05-03 19:45:12 +01:00
Alexander Ljungberg
1476efce90
Minor formatting.
2012-05-03 01:36:17 +01:00
Alexander Ljungberg
c437537749
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-27 01:19:56 +01:00
Alexander Ljungberg
c16c0309c8
Fixed: CPOutlineView setMenu: was not effective.
...
A CPOutlineView without a delegate `outlineView:menuForTableColumn:item` method, would not display its context menu as specified by `setMenu:` or in IB.
2012-04-27 01:19:47 +01:00
cacaodev
6fe3d53a13
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
2012-04-26 20:34:18 +02:00
cacaodev
92cdda1d22
capplinted CPRuleEditor/*.j
2012-04-26 20:34:09 +02:00
Alexander Ljungberg
be36803570
Fixed: CPPredicateEditor "Display value must be…" exception in recent revisions.
2012-04-26 15:35:55 +01:00
Alexander Ljungberg
998bdb550b
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-04-26 15:25:59 +01:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
cacaodev
edb86ebeeb
CPPredicateEditorValueBinder cleaning, conforms to recent CPBinder updates
2012-04-26 16:09:32 +02:00
cacaodev
bfe53a1d54
Merge branch 'CPPredicateEditorRowNode-formatting' into CPRulePredicateEditor
2012-04-26 15:39:16 +02:00
cacaodev
3ab2ebf71f
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
...
Conflicts:
AppKit/CPRuleEditor/CPRuleEditor.j
2012-04-26 15:38:30 +02:00