Skip to content

if view in UITableViewCell contentView, the :full option for frame is wrong #300

@shiweifu

Description

@shiweifu

build view code:


  def rmq_build
    rmq(self).apply_style :main_cell

    q = rmq(self.contentView)
    @top_view    = q.append(UIView, :top_view).get

  end

the stylesheet code:

  def top_view(st)
    st.background_color = color.yellow
    st.frame = {h: 50, w: :full}
  end

I use rmq.log output current view, the width of cell's contentView always 320 and the height always 44, It's defaults.

I think it's a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions