wiki:FRAME_PADDING_R0

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

--

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

Error: Macro TicketQuery(summary=FRAME_PADDING_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 paddings are the blank outer fields inside the frame which separate the frame`s content from the frame border. Paddings could have different width. They could be left, right, top or bottom. It should be possible for the user to define the paddings using HUD menu.

Task requirements

  • The frame should have properties defining its padding width.
  • There should be HUD menu for paddings (could be communal with margins`s HUD)
  • The frame content should adjust its position to the paddings width.

Task result

The result of this task is source code.

Implementation idea

  • Add Insets paddingInsets property to the Frame.
  • Use the HUD to change the padding and show how the frame content is adjusting to the new padding.

How to demo

  • Create frame with concrete paddings and check if the content adjusts to it.
  • Use the HUD to change the padding and show how the frame content is adjusting to the new padding.

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