StructureAlignTops

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Structure -> Align -> Tops.

 

  0 selected Drawing

  Components.

 

Don’t crash

Error range

Pass.

2

Structure -> Align -> Tops

 

  1 selected text item.

 

Do nothing.

One

Pass.

 

3

Structure -> Align -> Tops.

 

Selected:

  A Line

  A Multiline

  A Curve

  Text: “HI Dave”

Align the Drawing Components according to the toptmost Y coordinate of the highest item.

 

Don’t Distort or damage

shapes.

Some

There’s an issue with ‘Curves’ as points are left click recorded that are well outside the boundary of the final curve when it’s done.

4

Structure -> Align -> Tops.

 

Selected:

  3 Line

  3 Multiline

  3 Curve

  3  Ellipse

  3 Rectangle

  3 Polygon

  3 Shape

   Text: “HI DAVE”

 

A bunch, various positions in the window and varying overlap.

Pass.

5

Structure -> Align -> Tops.

 

  0 selected  Components.

 

Don’t crash

Error range

 

6

Structure -> Align -> Tops

 

  1 selected textbox.

 

Do nothing.

One

 

7

Structure -> Align -> Tops.

 

Selected:

  A Textbox

  A Button

  A RadioButton

 

Some

Fail

8

Structure -> Align -> Tops.

 

Selected:

  3 Textbox

  3 Button

  3 RadioButton 

  3 Checkboxes

  3 Tables

  A Scrollbar

  A Slider

 

A bunch

Fail

9

Structure -> Align -> Tops.

 

Selected:

  A Textbox

  A Button

  A RadioButton

  A Line

  A Multiline

  A Curve

This should only move the items that are of the type selected with the arrow tool from a particular tool bar.

 

i.e, if the items are selected with the Drawing Toolbar arrow tool, the Drawing Components will be aligned.

Interleave

Components fail.