Details
-
Feature
-
Must have
-
None
-
Obs Mgt & Controls
-
-
-
3
-
3
-
40
-
13.333
-
Team_CREAM
-
Sprint 3
-
-
-
-
13.6
-
Stories Completed, Integrated, BDD Testing Passes (no errors), Outcomes Reviewed, Demonstrated, Satisfies Acceptance Criteria, Accepted by FO
-
-
Taranta Team_CREAM webjive
Description
this is a clone of sp-1406 https://jira.skatelescope.org/browse/SP-1406 because substantial work was done in PI12 but also substantial value is missing, and expected to be achieved in PI13, namely the ability to have nested boxes.
In view of the demo held today (25 Nov) we need also to revise the way in which widgets are automatically sized inside a box. Bootstrap (a web library developed by Twitter) divides the space in 12 virtual columns and then each widget placed in the box has to occupy 1 or more of those 12ths. We could do something similar here, but to simplify handling small widgets like an LEDs, instead of 12s we could use 100s.
My proposal:
- a box space is divided into 100s (either vertically or horizontally);
- widgets can be put there so that they are automatically sized (each of them using the same proportion of available space), or the designer can configure a specific widget to occupy N% of the space;
- the width (or alternatively height) of a widget is a property that can be changed over time, also after the widget has been added to the box;
- unless at least one of the widgets has the "auto" size enabled, it is possible that the row/column of widgets does not occupy the entire space available. In such a case it would be good to be to able to specify that the box content is either "aligned-left", "aligned-right", "aligned-center" (the possible empty space is put all to the right of the widgets, to the left, or at both ends - in the case of a horizontal layout).