I have a calendar of events type application I am building as
to redo a venerable application with flex.
I have the basic main page constructed and it work well with
minor annoyance. The main display consists of an absolute
containing a single Panel. This panel is constrained to 25
the top, bottom, left and right edges of the application
The panel is also configured as an absolute layout,
containing an HBox
container with navigation controls positioned at the top, a
of the days of the week (Monday, Tuesday, ect.) below the
comes the meat of the display, a second grid containing all
the days of
the displayed month each showing a list of events.
This grid is where I am having difficulty. If I give it an
height (300) it works the way I want in that a scroll bar is
allowing the user the scroll through all the days and events
300 pixel high box in the middle of the application. But then
hard coded to 300 pixels high meaning that if the browser
large enough a portion of the panel space is blank because
the grid can
not expand to fill it.
But if I give the grid less absolute positioning, either
position it's edges (top, bottom, ect) within the panel, the
size is not
enforced. The entire application is expanded to contain all
and events and the entire application then scrolls. Thus
navigation controls off the top of the browser canvas when
Is there some way to constrain the grid to a certain section
panel so that it grows and shrinks in relationship to the
still not allow it to grow in relationship to the number and
size of the
rows and cells inside it?