| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
Cairo toy text api have problems, and can't render complex sripts.
Changed the way we draw the text in not edition mode to solve this
issue. This patch also move the textview, from be in the Box, to the
globe, then now we have one textview for ewvery globe instead of one by
box. This simplify tghe code.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
The class Imagen is a Globo, but with texto = None. This patch
contemplate all the cases where text can be None.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
| |
After the change to use a textview to edit text, this was a pending
issue. Is solved using the HBox around the text view to calculate
the real size. The x, y coordinates in the class CuadroTexto
were removed, using the values in the parent Globe.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
There are one problem not solved yet, the textview, at times,
takes more vertical space than requested the first time is displayed,
and enlarge the globe. Clicking again in the text view, resizes it to
the right size.
Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Ignacio Rodriguez <nachoel01@gmail.com>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
Enlarge to be better with touch devices
Also remove unused imports
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
The title globe is added when the activity starts with a empty page,
and can't be deleted.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Agustin Zubiaga <aguszs97@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|