[[BackLinksMenu]] [[TicketQuery(summary=FRAME_SIZE_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == The frame`s size is the width and hight of the frame. In default mode they are the measurements of the frame content. The frame should be able to calculate its size in different modes (including paddings, border and/or margins). A frame could even be bigger than the page. In that case the frame`s parts which are outside the page`s range will be clipped out and wont be seen in reader mode. In author mode however all frames should be seen in whole. == Task requirements == * The frame should have properties describing width and hight. * Those properties should be equal or grater than 0. * The frame should be able to set and get its size in all modes. == Task result == The result of this task is source code. == Implementation idea == * Create width and hight value properties in the Frame. * Create enums for modes if needed. == Related == * [source:trunk/sophie2-platform/doc/spec-diagrams/FrameBounds.png] * [wiki:FRAME_PADDING_R0] * [wiki:FRAME_MARGINS_R0] * [wiki:FRAME_INSETS_R0] * [wiki:FRAME_BOUNDS_R0] == How to demo == * Create frame with concrete width and hight and check if they are correct. = Design = = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository))^ = Testing = = Comments = ^(Write comments for this or later revisions here.)