summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-08-06 22:40:19 +0200
committerBoris Faure <billiob@gmail.com>2015-08-06 22:40:19 +0200
commit49be05a02fdf337536cb47cb47aecaf0711b1dd8 (patch)
tree9d23f9bb293d3bff30e6b4a5743e1ffbf361fb2e
parent3716c7ec51d25d93b70a5197bfbef4eb2f7b9e68 (diff)
do not expand window on zoom, resize the content. Closes T886
-rw-r--r--src/bin/termio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index d8f319a..82b7972 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -455,19 +455,12 @@ _font_size_set(Evas_Object *obj, int size)
455 else if (size > 100) size = 100; 455 else if (size > 100) size = 100;
456 if (config) 456 if (config)
457 { 457 {
458 Evas_Coord mw = 1, mh = 1;
459 int gw, gh;
460
461 config->temporary = EINA_TRUE; 458 config->temporary = EINA_TRUE;
462 config->font.size = size; 459 config->font.size = size;
463 gw = sd->grid.w;
464 gh = sd->grid.h;
465 sd->noreqsize = 1; 460 sd->noreqsize = 1;
466 termio_config_update(obj); 461 termio_config_update(obj);
467 sd->noreqsize = 0; 462 sd->noreqsize = 0;
468 evas_object_size_hint_min_get(obj, &mw, &mh);
469 evas_object_data_del(obj, "sizedone"); 463 evas_object_data_del(obj, "sizedone");
470 evas_object_size_hint_request_set(obj, mw * gw, mh * gh);
471 } 464 }
472} 465}
473 466