Alexander Ljungberg
0867ccdc73
Reduced token height by 1 pixel to put some more whitespace underneath it in a standard height token field.
2010-10-29 14:23:36 -03:00
Alexander Ljungberg
29a93b20f4
Merge branch 'flllow-tokenfield-improvements'
2010-10-23 20:53:34 -03:00
Alexander Ljungberg
80b16ae9ab
Bluer selected tokens in token field.
2010-10-23 14:07:46 -03:00
Klaas Pieter Annema
49c8a02b5f
cleanup in CPSplitView and the Aristo ThemeDescriptors
2010-10-22 13:55:37 +02:00
Klaas Pieter Annema
1165e569d2
make splitview pane divider color theme-able
2010-10-22 13:54:39 +02:00
Alexander Ljungberg
2210c1f4c5
Implemented token field overflow support as in Cocoa: if more tokens than can fit are entered, they wrap to a new line. If the new line does not fit within the height of the token field, the previous line is scrolled out of view.
...
Note: this replaces the previous non Cocoa behaviour where the token field would grow height-wise with new tokens. This behaviour can still be useful, as seen in Apple Mail, but it will now require the user to subclass CPTokenField, override layoutSubview and set the frame size to the size of the scroll view's document view.
2010-10-21 15:56:17 -03:00
Klaas Pieter Annema
991e213d02
give CPSearchField it's own theme class
...
Before this change it was not possible to theme CPSearchField separately from a CPTextField. Aristo still just uses the rounded theme style.
2010-10-19 14:21:00 +02:00
Alexander Ljungberg
a3a4aed0d2
Merge branch 'master' of github.com:280north/cappuccino
2010-10-15 15:00:40 -03:00
Alexander Ljungberg
8ec78f20d1
Implement _minimumFrameSize for CPTokenField tokens. Also honor min-size width - not used by Aristo but potentially useful for custom themes.
2010-10-15 12:40:09 -03:00
Randall Luecke
56bc94f98c
Merge branch 'tableview-grouprows'
2010-10-15 01:52:57 -04:00
Randall Luecke
99201dc3db
Initial commit for group rows in the TableView. Drawing code still needs to be cleaned up a LOT... still buggy. i.e. after you select a group row, any rows after that which are selected then get selected with a gray highlight color.
2010-10-08 00:44:17 -04:00
Paul Baumgart
45ebe2c905
Fix deprecation warnings
2010-10-06 23:04:46 -07:00
Alexander Ljungberg
56a0184258
Fixed a missing comma in the token field theme descriptor.
2010-10-03 15:39:17 -04:00
Alexander Ljungberg
b64390077a
Remove margin from token fields without bezel so that the tokens line up with text labels at the same X coordinate.
2010-10-03 15:31:48 -04:00
Alexander Ljungberg
9eba3c0cec
Make theme work for token fields without bezeled:NO. Demo of auto suggest in test app.
2010-10-03 00:29:29 -04:00
Alexander Ljungberg
1b45f621a7
Created and implemented a first draft Aristo theme for CPTokenField.
2010-10-02 22:41:38 -04:00
Alexander Ljungberg
124a63736f
Made CPTokenField themeable. Todo: the autocomplete drop-down is still hardcoded and Aristo style images are needed.
2010-10-02 19:36:24 -04:00
Alexander Ljungberg
656e0eb28e
Whitespace cleanup in preparation for the next merge.
2010-10-02 19:19:51 -04:00
Mike Fellows and Randall Luecke
461bb65263
Set vertical slider disabled track-color to the proper background images, stop overwriting the horizontal slider disabled track-color background images with those meant for the vertical slider - fixes issue #737
2010-09-20 01:37:03 -04:00
Mike Fellows and Klaas Pieter Annema
7d855a9c09
Fix minor typos, some accidental globals, missing coma and missing semicolon
2010-09-17 11:03:32 +02:00
Klaas Pieter Annema
57813ea3fb
change CPButton imageOffset theme property to image-offset
2010-09-15 12:34:16 +02:00
Klaas Pieter Annema
ac26827f32
make CPTableHeaderView divider color theme-able
2010-09-14 14:47:10 +02:00
Klaas Pieter Annema
fba8b85c90
theming changes to CPScrollView
...
- Add bottom corner view and make it's background color a theme property
- Make the border color themeable
2010-09-10 14:20:19 +02:00
Klaas Pieter Annema
b75dcd7ac4
made the scrollview line border color themeable
2010-09-10 14:20:17 +02:00
Aparajita Fishman and Klaas Pieter Annema
ce2c662872
Fixes to previous CPButton image positioning commit.
...
- Checkbox and radio selected states would not show in the images. It turns out that the image and alternate image cannot be encoded->decoded->set without messing up the theme, and unfortunately the theme blending task (during a jake build) would do so. So for now this means that we cannot encode non-theme images with a button class, which is unlikely to happen.
- Since we cannot access themes in the NS classes, I went ahead and started to make some constants in a few control classes so that the values can be changed in one place and affect the theme and nib2cib.
2010-09-10 09:56:26 +02:00
Aparajita Fishman and Klaas Pieter Annema
6680a1f2a7
Overhaul of CPButton and supporting classes to support image positioning the way Cocoa does
2010-09-08 22:13:39 +02:00
Klaas Pieter Annema
b6da0fdf06
start of CPSplitView theming
2010-09-07 10:23:21 +02:00
Aparajita Fishman and Alexander Ljungberg
be36e17bd8
Make the names in +themeShowcaseExcludes case-insensitive
2010-08-31 22:09:29 -04:00
Klaas Pieter Annema
c9752195ac
several CPButton theming additions
...
- made image and alternate image a theme property
- made image margins theme-able
2010-08-25 13:26:44 +02:00
Alexander Ljungberg
b9086f134a
Don't include table column header graphics in the showcase - they're not really widgets which make sense standing alone.
2010-08-22 23:03:51 -04:00
Aparajita Fishman and Alexander Ljungberg
ae47ba78cd
Use [self respondsToSelector] instead of class_respondsToSelector
2010-08-22 22:06:38 -04:00
Aparajita Fishman and Alexander Ljungberg
2f51358ea0
Added documentation for the excluded mechanism.
2010-08-22 22:06:31 -04:00
Aparajita Fishman and Alexander Ljungberg
c91c513b60
Proposed method of excluding themed objects from the theme showcase.
...
- Also added class_respondsToSelector, it was a no-brainer.
- Cleaned up trailing whitespace in CPThemeBlend.j. Woo-hoo!
2010-08-22 22:06:22 -04:00
Aparajita Fishman and Alexander Ljungberg
189d90da91
Moved theWindow to an ivar so other methods can reference it.
2010-08-22 19:03:15 -04:00
Aparajita Fishman and Alexander Ljungberg
05edec8a8b
Removed CPButton -setDefaultButton, new version of CPButton after merging with latest master.
2010-08-22 18:53:52 -04:00
Alexander Ljungberg
a9e59e1e87
Fixed: in the new theme definition the table header sort images were no longer images. This would cause an exception whenever a table header was clicked such that the sort arrows needed to display.
2010-08-22 17:47:52 -04:00
Alexander Ljungberg
5335a611a0
Use Aristo icons for CPAlert.
2010-08-20 01:55:45 -04:00
Alexander Ljungberg
c06068c931
Themable CPAlert which automatically grows height-wise to accommodate all text. Adjustable icons, margins, spacing and fonts.
2010-08-19 23:03:35 -04:00
Alexander Ljungberg
d56bc733ad
Remove some accidental globals.
2010-08-18 22:01:18 -04:00
Alexander Ljungberg
8fbd24c861
Moved file globals to the top of the file. Removed a misplaced var. Eliminated empty statements.
2010-08-18 21:32:51 -04:00
Alexander Ljungberg
98049aeb78
Whitespace cleanup.
2010-08-18 17:02:22 -04:00
Aparajita Fishman and Alexander Ljungberg
c9718783af
Made the new theming mechanism generic (see ecbbe57)
2010-08-18 16:45:45 -04:00
Aparajita Fishman and Alexander Ljungberg
bfe01badc1
Radically simplified the whole theming mechanism. Theming can now be done declaratively with less typing, better readability, easier maintenance.
...
Also fixed some oversights in the existing themes: text was not dimmed in disabled state for segmented controls, text was not dimmed for default buttons in disabled state in HUD (IIRC).
2010-08-18 16:45:38 -04:00
Klaas Pieter Annema and Ross Boucher
90e9b86497
match CPTableView's alternating row colors with Aristo's
2010-07-26 22:48:58 -07:00
Randall Luecke
cffbf86351
TableView theming
2010-07-22 00:21:02 -05:00
Randall Luecke
a2e6f8f964
Initial theming of TableView header.
2010-07-15 22:32:00 -05:00
Thomas Ingham and Ross Boucher
a49b01d396
Added missing asset.
2010-06-08 19:29:11 -07:00
Thomas Ingham and Ross Boucher
2a36488db7
Added new artwork and theme style for the button.
...
Matching fonts to segctl.
2010-05-26 08:51:36 -07:00
Thomas Ingham and Ross Boucher
3d4a33d373
Re-preflight on the image assets resulting in 24px tall images in each case. This is done by cutting the top edge close (well into the aliased edge on top.)
...
Added defs for the horizontal and vertical sliders.
2010-05-24 15:31:04 -07:00
Thomas Ingham and Ross Boucher
7519b7ab63
Added hud style for circular slider knob thing.
2010-05-24 10:09:39 -07:00