projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show/hide prompt for device connection.
[enjoyable.git]
/
Classes
/
EnjoyableApplicationDelegate.m
diff --git
a/Classes/EnjoyableApplicationDelegate.m
b/Classes/EnjoyableApplicationDelegate.m
index
c477511
..
5c68476
100644
(file)
--- a/
Classes/EnjoyableApplicationDelegate.m
+++ b/
Classes/EnjoyableApplicationDelegate.m
@@
-108,6
+108,11
@@
}
#define OUTPUT_PANE_MIN_WIDTH 390
}
#define OUTPUT_PANE_MIN_WIDTH 390
+#define INPUT_PANE_MIN_WIDTH 160
+
+- (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMinimumPosition ofSubviewAt:(NSInteger)dividerIndex {
+ return INPUT_PANE_MIN_WIDTH;
+}
- (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)offset {
return proposedMax - OUTPUT_PANE_MIN_WIDTH;
- (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)offset {
return proposedMax - OUTPUT_PANE_MIN_WIDTH;