Hugo Saint-Vignes
|
0b683b6994
|
[apps/shared] Handle identical layout in MinimalSizeForOptimalDisplay
Change-Id: I99a523e9e88ea9c3064e4367d96b01edb0020df9
|
2020-08-11 17:06:07 +02:00 |
|
Léa Saviot
|
a56a73b0ba
|
[apps/calculation] Fix calculation height computation
It was done in two places before, which created inconsistencies
|
2020-05-28 04:44:27 -07:00 |
|
Léa Saviot
|
5535145b51
|
[apps/calculation] Calculation on 2 lines if does not fit when expanded
Scenario: 1+1+1+1+1+1+1+10.5 fits on one line when not expanded, but
when the exact result is displayed not -> we thus always display it on
two lines
|
2020-05-28 04:44:27 -07:00 |
|
Léa Saviot
|
579485c8c0
|
[apps/calculation] CanBeSingleLine differs if args are view/layout sizes
If the sizes are for layouts, we need to add the margins added by the
views.
|
2020-05-28 04:44:27 -07:00 |
|
Léa Saviot
|
11c39b6206
|
[apps/calculation] Calculation::height has two types of margin arguments
One for the margin between layouts and on top / at the bottom of the
cell, the other for the margin surrounding each layout.
|
2020-05-28 04:44:27 -07:00 |
|
Léa Saviot
|
30c243e2e4
|
[apps/scrollable_multiple_expressions_view] Factorize baseline()
|
2020-05-28 04:44:27 -07:00 |
|
Émilie Feral
|
251db5b60e
|
[apps/shared][apps/calculation] Change class names:
ScrollableInputExactApproximateExpressionsCell -->
ScrollableThreeExpressionsCell
AbstractScrollableExactApproximateExpressionsView -->
AbstractScrollableMultipleExpressionsView
ScrollableExactApproximateExpressionsView -->
ScrollableTwoExpressionsView
ScrollableInputExactApproximateExpressionsView -->
ScrollableTwoExpressionsCell
|
2020-02-12 15:13:22 +01:00 |
|