Gesture and Slider Bar doesn't work together as expected

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Gesture and Slider Bar doesn't work together as expected

ソリューションへジャンプ
1,755件の閲覧回数
frozen
Contributor III

I created project with latest Gui Guider and latest lvgl version. There are 2 screen and I want to change them with gesture event. I also have a slider bar in both screens. I can change screens as I want but when it comes to change slider bar's status, I can't change it every time as I want. It detects my move as gesture event while I move slider bar faster. How can I fix this issue ?

You can find sample project and video as attached.

1 解決策
1,741件の閲覧回数
WenbinYuan
NXP Employee
NXP Employee

Hello @frozen ,

thanks for your problem sharing and you could fix this issue by follow these steps:

  1. select screen which contain the sider then click 'Add Event' icon
  2. choose the Triggers > Loaded and select the slider widget as target
  3. select the Action - Clear Flag > Gesture Bubble
  4. do this for all the widgets that you don't want to effect screen when there's gesture on it 

Hope this way could help you.

 

Best Regards,

Wenbin

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,742件の閲覧回数
WenbinYuan
NXP Employee
NXP Employee

Hello @frozen ,

thanks for your problem sharing and you could fix this issue by follow these steps:

  1. select screen which contain the sider then click 'Add Event' icon
  2. choose the Triggers > Loaded and select the slider widget as target
  3. select the Action - Clear Flag > Gesture Bubble
  4. do this for all the widgets that you don't want to effect screen when there's gesture on it 

Hope this way could help you.

 

Best Regards,

Wenbin

0 件の賞賛
返信