mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-04 22:28:59 +00:00
Improve theme for CPSplitView
This commit is contained in:
1 parent
347de2cb8b
commit
5ec6d571eb
3 files changed
+5
-1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 86 B |
Binary file not shown.
|
After Width: | Height: | Size: 79 B |
@@ -1331,6 +1331,8 @@ var themedButtonValues = nil,
|
||||
[splitView addSubview:leftView];
|
||||
[splitView addSubview:rightView];
|
||||
|
||||
var horizontalDividerColor = PatternImage("splitview-divider-horizontal.png", 5.0, 10.0),
|
||||
verticalDividerColor = PatternImage("splitview-divider-vertical.png", 10.0, 5.0);
|
||||
|
||||
[splitView setIsPaneSplitter:YES];
|
||||
|
||||
@@ -1338,7 +1340,9 @@ var themedButtonValues = nil,
|
||||
[
|
||||
[@"divider-thickness", 1.0],
|
||||
[@"pane-divider-thickness", 10.0],
|
||||
[@"pane-divider-color", [CPColor colorWithRed:165.0 / 255.0 green:165.0 / 255.0 blue:165.0 / 255.0 alpha:1.0]]
|
||||
[@"pane-divider-color", [CPColor colorWithRed:165.0 / 255.0 green:165.0 / 255.0 blue:165.0 / 255.0 alpha:1.0]],
|
||||
[@"horizontal-divider-color", horizontalDividerColor],
|
||||
[@"vertical-divider-color", verticalDividerColor]
|
||||
];
|
||||
|
||||
[self registerThemeValues:themedSplitViewValues forView:splitView];
|
||||
|
||||
Reference in new issue
Block a user