← Back to team overview

ubuntu-phone team mailing list archive

Re: [Calculator] Design problems

 

On 03/03/13 08:50, Dalius wrote:
> Hi, Thomas,
>
>
> On Sun, Mar 3, 2013 at 9:35 AM, Thomas Poulsen <thomas@xxxxxxxx
> <mailto:thomas@xxxxxxxx>> wrote:
>
>     It would be perfect, if you can enter it just as 5×6+2sin(?/2).
>
> You can enter that this way and it will work as expected. In demo I
> have added parenthesis for demonstrations of well... parenthesis :-)
>  
>
>     In the basic mode, which Canonical is focusing on, I think your
>     stationary example can be solved by keeping the multiplications
>     together, and only change to a new line at addition (and subtraction).
>
>     That could look a bit like:
>
>     Pencils:         5×1.05=5.25
>     Paper:   +     7×10.00=70
>     Scissors: +8×28.79=230,32
>     -------------------------------------
>     Total:                        305,57
>
>     A new line is created when '+' or '-' are pressed, not when '×' or
>     '÷' are pressed.
>
> I hope design team is reading this. That look nice.

That would be a good design for the landscape tablet version but for the
portrait phone version, you will not have enough horizontal space hence
why you're probably better off with a vertical layout for the phone, in
the same way as a cash register receipt:

Pencils:     1.05
               x 5
Paper:    + 10.00
               x 7
Scissors: + 28.79
               x 8
----------------------
Total:       305.57

The fact that you don't get a running total is OK for a version that is
constrained in size. You can show the running total on devices that have
a lot of screen space like a tablet in landscape mode. In practice in
landscape on a tablet, you could actually have the running total as an
additional column on the right.

Now what you would do with 8 pairs of scissors is another question:
Edward Scissorhands Halloween costume?

Cheers,

Bruno

Follow ups

References