Opened 11 years ago

Closed 10 years ago

#13464 closed enhancement (invalid)

Consider Extract Layout of ScrollableView and make it available to View

Reported by: Ming Zhe Huang Owned by: ykami
Priority: high Milestone: tbd
Component: DojoX Mobile Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:


Currently only ScrollableView? supports layout like "header+content+footer". If you want such layout, you have to use ScrollableView?.

However, that is not feasible in many use cases when:

  1. Scrolling is not allowed or is not good in user experience.
  2. "content" part should occupy the remaining height, besides header and foot. Currently the height of "content" part of ScrollableView? is equal to the it's inner content, not the remaining height.

Since "header+content+footer" is very common and ScrollableView/View? are the only containers in, we should consider add same layout capability to View.

Change History (2)

comment:1 Changed 11 years ago by ykami

As you know, ScrollableView was specifically implemented to add the header/footer support to View. So I don't think considering to add such capability to View makes any sense. If you want to have a fixed footer with a non-scrollable content, all you need to do is to set bottom=0 to the footer style.

comment:2 Changed 10 years ago by ykami

Resolution: invalid
Status: newclosed

I understand you need some layouting utility or pre-defined css settings, but this ticket looks invalid. Let's create a new one.

Note: See TracTickets for help on using tickets.