def subviews_bottom_right(view, args = {})
      w = 0
      h = 0

      view.subviews.each do |subview|
        rect = subview.rmq.frame
        w = [rect.right, w].max
        h = [rect.bottom, h].max
      end

      rect = view.rmq.frame
      w = rect.width if (w == 0 || args[:only_height])
      h = rect.height if (h == 0 || args[:only_width])

      {w: (w + (args[:right] || 0)), h: (h + (args[:bottom] || 0))}
    end
def subviews_bottom_right(view, args = {})
      w = 0
      h = 0

      view.subviews.each do |subview|
        rect = subview.rmq.frame
        w = [rect.right, w].max
        h = [rect.bottom, h].max
      end

      rect = view.rmq.frame
      w = rect.width if (w == 0 || args[:only_height])
      h = rect.height if (h == 0 || args[:only_width])

      {w: (w + (args[:right] || 0)), h: (h + (args[:bottom] || 0))}
    end
Calculates the bottom right of a view using its subviews

 @return [Hash]