15 Commits

Author SHA1 Message Date
Mark Rickert
1179114dd2 New feature for resize_frame_to_fit_subviews
Allows you to pass :only_width and :only_height so that things aren't resized that you don't want to be :)
2015-02-25 20:03:51 -06:00
Mark Rickert
00dc946884 Rename resize_content_to_fit_subviews and resize_frame_to_fit_subviews
To fit conventions agreed upon.
2015-02-23 13:47:44 -06:00
Mark Rickert
28e4acc3a1 Merge branch 'master' into auto_set_content_size
* master:
  Allows you to specify right and bottom padding for resize_to_fit_subviews

Conflicts:
	spec/position.rb
2015-02-20 11:50:26 -06:00
Mark Rickert
22a34f97e3 Adds auto_set_content_size for UIScrollview and subclasses.
So that you can add a bunch of things toa scrollview and then call auto_set_content_size and it will not change frame but automatically set the contentSize based on the scroll view's contents (with optional padding)
2015-02-20 11:42:06 -06:00
Mark Rickert
ad0464430b Allows you to specify right and bottom padding for resize_to_fit_subviews 2015-02-20 11:18:21 -06:00
Todd Werth
aa4990b0ce Fixed bug #165 "Distribute margin with multiple selected objects" 2015-01-06 11:51:10 -08:00
Todd Werth
adcc99aa2e Removed deprecations 2014-12-18 12:29:07 -08:00
Todd Werth
d67226e1b6 Local merge issues 2014-05-03 23:05:34 -07:00
David Larrabee
0a6fc350dc Expands test coverage previously marked as todo
* Adds coverage to position, actions, and utils
2014-05-02 16:48:36 -04:00
Todd Werth
4713717ab4 Local merge fix 2014-04-16 15:02:53 -07:00
Todd Werth
daf1058938 Added some documentation. Added .layout to position, .move and .resize now alias .layout 2014-03-05 19:25:27 -08:00
Todd Werth
c643ba6b17 Added resize_to_fit_subviews to rmq object: rmq(you_view). resize_to_fit_subviews 2013-11-29 12:36:56 -08:00
Todd Werth
e5d2f00315 Added ability to distribute views vertically and horizontally with a margin 2013-11-29 12:03:56 -08:00
Todd Werth
08697d82a4 Added location_in 2013-10-02 22:47:57 -07:00
Todd Werth
608f4dd54c Initial commit 2013-07-29 15:37:44 -07:00