forked from enlightenment/efl
elm_config: rescale is needed when font or font size is changed
Summary: This patch fixes the issue that any application is not rescaled when font or font size is changed by elementary_config. Test Plan: 1. run elementary_test 2. run elementary_config 3. change the font in elementary_config 4. check the button size in elementary_test Reviewers: id213sin, ali.alzyod, devilhorns, raster Reviewed By: devilhorns, raster Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12117
This commit is contained in:
parent
13c125803e
commit
ece7010a4a
|
@ -4460,6 +4460,7 @@ _elm_config_reload(void)
|
|||
unsigned char ppassword_show_last;
|
||||
double ppassword_show_last_timeout;
|
||||
int pweek_start, pweekend_start, pweekend_len, pyear_min, pyear_max;
|
||||
Eina_List *pfont_overlays;
|
||||
|
||||
#define STO(x) if (_elm_config->x) p##x = eina_stringshare_add(_elm_config->x)
|
||||
STO(theme);
|
||||
|
@ -4478,6 +4479,7 @@ _elm_config_reload(void)
|
|||
STO(weekend_len);
|
||||
STO(year_min);
|
||||
STO(year_max);
|
||||
STO(font_overlays);
|
||||
#undef STO
|
||||
|
||||
is_mirrored = _elm_config->is_mirrored;
|
||||
|
@ -4512,6 +4514,7 @@ _elm_config_reload(void)
|
|||
|| CMP(theme)
|
||||
|| CMP(modules)
|
||||
|| CMP(icon_theme)
|
||||
|| CMP(font_overlays)
|
||||
)
|
||||
_elm_rescale();
|
||||
#undef DBL_CMP
|
||||
|
|
Loading…
Reference in New Issue