Re: [SailfishDevel] Use same header item instance in multiple views

2016-07-23 Thread Amilcar Santos
Hi Michael, I think that it's not possible that way.. once you switch between GridView and ListView, the SearchField loses focus (maybe force the focus with a Timer) and probably the keyboard. solution 1: set the SearchField outside the views and switch only the view: Page { SearchField {

Re: [SailfishDevel] Use same header item instance in multiple views

2016-07-22 Thread Michael Neufing
Thanks for the fast reply, Andrey! Maybe I don't get the idea behind your suggestion, but I can't see how that should help, because the reparenting is done dynamically during run-time, not during creation-time. Br, Michael Am 22.07.2016 19:46, schrieb Andrey Kozhevnikov: Wrapping your list vi

Re: [SailfishDevel] Use same header item instance in multiple views

2016-07-22 Thread Andrey Kozhevnikov
Wrapping your list views into loader components can probably help you :) -- Исходное сообщение -- От: "Michael Neufing" Кому: devel@lists.sailfishos.org Отправлено: 22.07.2016 23:43:41 Тема: [SailfishDevel] Use same header item instance in multiple views Hi together! I am trying to us