wiki:FRAME_MARGINS_R0

Version 4 (modified by mira, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=FRAME_MARGINS_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|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The frame`s margins are the blank fields with specific width surrounding the frame. They are used to separate components from one another. For example to determine on what distance should the halo menu stand from its refering frame. Margins colud be left, right, top or bottom. They are transperant so that inderneath frames could be seen.

Task requirements

  • The frame should have properties defining its margins width.

Task result

The result of this task is source code.

Implementation idea

  • Create Margins class extending ProObject with properties for the left, right, bottom and top margins.
  • Add Margins property to the Frame.

How to demo

  • Create frame with concrete margins and check if other components are put correspondingly.
  • Check if other frames under the margin are displayed corectly.

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.)