Mobile/Fennec/Architecture: Difference between revisions

m
→‎Panning/Zooming: fixed awkward wording
m (→‎Panning/Zooming: fixed awkward wording)
Line 27: Line 27:
[[Image: Mobile-fennec-stack.png]]
[[Image: Mobile-fennec-stack.png]]


Fennec uses a JavaScript helper object, WidgetStack.js, to coordinate panning the individual UI elements. WidgetStack also manages the size to the content viewport. For the most part, the left and right toolstrips are "glued" to the sides of the content display surface. Different web pages are different widths (and heights) and as the width changes, the right toolstrip is moves with the growing content. The result is: wider web pages require more pans to get to the right toolstrip.
Fennec uses a JavaScript helper object, WidgetStack.js, to coordinate panning the individual UI elements. WidgetStack also manages the size to the content viewport. For the most part, the left and right toolstrips are "glued" to the sides of the content display surface. Different web pages are different widths (and heights) and as the width changes, the right toolstrip moves with the growing content. This means wider web pages require more pans to get to the right toolstrip.


Pannning moves the entire UI, not just the content area. The toolstrips and the content move as a single entity. It should feel as though the entire browser is being moved by your finger.
Pannning moves the entire UI, not just the content area. The toolstrips and the content move as a single entity. It should feel as though the entire browser is being moved by your finger.
20

edits