语言

Menu
Sites
Language
Custom Popup

Hi,
I'm trying to create a popup on Gear S3, with a custom Layout (EDC) in it that ocuppies the whole screen.

 

编辑者为: Flavio Lima 28 7月, 2017
查看选择的答案

响应

3 回复
Mark as answer
K Johnson

Hi Flavio Lima,

You may go through UIComponents sample app for this purpose. Please go through popup.c file of the app and find out list_it_scrollable_text() function there. Change the below line of that sample app
 

elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);

as below: 

elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, ELM_NOTIFY_ALIGN_FILL);

Hope it'll do your work perfectly!

Flavio Lima

Thanks for the awnser, but cant find that function.

Flavio Lima

All that i needed was that part of the code xD.
But is weird, if i put 

elm_popup_align_set(popup, 0.5, 0.5);
or any other value, it does not do the same as :
ELM_NOTIFY_ALIGN_FILL