mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-13 10:13:50 +00:00
Updated Aristo2 for toolBar
This commit is contained in:
1 parent
fdd5aa0a5a
commit
7ba759b08a
3 files changed
+22
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 258 B |
Binary file not shown.
|
After Width: | Height: | Size: 261 B |
@@ -2036,7 +2036,29 @@ var themedButtonValues = nil,
|
||||
return docModalWindowView;
|
||||
}
|
||||
|
||||
+(_CPToolbarView)themedToolbarView
|
||||
{
|
||||
var toolbarView = [[_CPToolbarView alloc] initWithFrame:CGRectMakeZero()],
|
||||
|
||||
toolbarExtraItemsImage = PatternImage(@"toolbar-view-extra-items-image", 10, 15),
|
||||
toolbarExtraItemsAlternateImage = PatternImage(@"toolbar-view-extra-items-alternate-image.png", 10, 15),
|
||||
|
||||
themeValues =
|
||||
[
|
||||
[@"extra-item-extra-image", toolbarExtraItemsImage],
|
||||
[@"extra-item-extra-alternate-image", toolbarExtraItemsAlternateImage],
|
||||
[@"item-margin", 10.0],
|
||||
[@"extra-item-width", 20.0],
|
||||
[@"content-inset", CGInsetMake(4.0, 4.0, 4.0, 10)],
|
||||
[@"regular-size-height", 59.0],
|
||||
[@"small-size-height", 46.0]
|
||||
];
|
||||
|
||||
|
||||
[self registerThemeValues:themeValues forView:toolbarView];
|
||||
|
||||
return toolbarView;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in new issue
Block a user