Permalink
Browse files

Updated README with maxLedge info.

  • Loading branch information...
Inferis committed Mar 27, 2012
1 parent 8d2466f commit 3ca7688c83db58422fd3d62e9e8d6f55ec4022f5
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
@@ -61,7 +61,11 @@ If the controller is not enclosed by a IIViewDeckController, this property retur
## ledges
-You cannot close the centerview completely, since it would block the user from panning it back. A minimum *ledge* of 10 pixels is observed. You can set the ledge sizes yourself by assigning a value to the `leftLedge` property for the left side and the `rightLedge` property for the right side.
+You cannot close the centerview completely, since it would block the user from panning it back. You can set the ledge sizes yourself by assigning a value to the `leftLedge` property for the left side and the `rightLedge` property for the right side. It is possible to set a ledge size of 0.
+
+### maximum ledge, or gap-mode
+
+It is possible to have the viewController always show a side controller. You do this by setting the `maxLedge` value to any (positive) nonzero value. This will force the centerview to be always opened, exposing a side controller permanently. **This only works when you have ONE sidecontroller specified** (this means either a left side controller or a right side controller), because this scenario does not make sense if you would be able to slide the center view in both directions. When you have 2 side controllers, this property is ignored.
## bouncing close

0 comments on commit 3ca7688

Please sign in to comment.