*** jjarven is now known as Guest83372 | 00:39 | |
*** ersatzmaus is now known as Guest24474 | 00:39 | |
*** xenu_ is now known as xenu | 02:44 | |
*** frinring_ is now known as frinring | 03:04 | |
*** birdzhang is now known as birdzhang_pc | 05:33 | |
*** ecloud is now known as ecloud_wfh | 08:13 | |
*** dch_ is now known as dch | 09:35 | |
*** popey_ is now known as popey | 09:45 | |
*** Guest24474 is now known as fledermaus | 11:49 | |
FloR707 | Sorry for asking this again but last night I got no response. | 11:56 |
---|---|---|
FloR707 | I figured out how to have ListItems with different heights depending on their content. But now I ran into a new issue. The SilicaListView needs to have a hight. Since the ListView is not the only component on the page I cannot say fill parent but I do not know the content height. Can I tell the ListView to be as tall as required to show all items or can I calculate the hight with Component.onCompleted? | 11:57 |
r0kk3rz | FloR707: it sounds like you dont really want a listview | 12:04 |
r0kk3rz | perhaps a repeater would more suit your situation | 12:04 |
FloR707 | Thanks for the hint. Have not been working with repeaters but I will try. | 12:09 |
FloR707 | Hmm it does not know sections | 12:11 |
r0kk3rz | they are quite basic | 12:11 |
elros | FloR707: you can use ListView { height: contentHeight} | 12:26 |
FloR707 | Indeed you can. Thanks so much. This should be in the SilicaListView help | 12:30 |
FloR707 | I believe this page needs some updating anyway. It says you have to use Item for a delegate but that is not a good idea is it? | 12:31 |
r0kk3rz | ? everything in qml inherits from item | 12:32 |
elros | I don't think so, it's not specific for Silica components. It's here https://doc-snapshots.qt.io/qt5-5.9/qml-qtquick-flickable.html#contentHeight-prop | 12:32 |
FloR707 | ListItem works much better than Item. | 12:34 |
r0kk3rz | its just an example | 12:35 |
nh1402[m] | r0kk3rz: how goes the firefox dependency stuff? | 13:52 |
r0kk3rz | ok | 13:53 |
r0kk3rz | merobs is a little screwed at the moment which is annoying though | 13:53 |
r0kk3rz | i got clang to clang, and i think that should be most of it | 13:55 |
nh1402[m] | I've now dived into firefox extension development, so once I'm done with the current extension that I'm working on, I can work on a mobile view extension | 14:00 |
r0kk3rz[m] | yeah i was hoping someone would sort that out | 14:01 |
r0kk3rz[m] | i'll be quite surprised if the thing works at all tbh | 14:03 |
*** Nokius_ is now known as Nokius | 14:36 | |
*** Guest37885 is now known as zumbi | 14:49 | |
nh1402[m] | I think what would be needed is a combination of a userChrome.css file and an extension, the extension for tab management, and the css file to move and scale UI stuff. | 15:03 |
r0kk3rz[m] | i wonder how they implemented the fennec ui, and if you can tell desktop FF to use it | 15:08 |
leszek | r0kk3rz[m]: you can't. You need to compile fennec on your own. | 15:22 |
nh1402[m] | r0kk3rz: don't think you can anymore it used the old XUL thing | 15:23 |
leszek | and that too | 15:24 |
r0kk3rz | compiling it is fine, but does it even work on things that arent android? | 15:25 |
nh1402[m] | the other thing we could do is use the android backend, and link it to our own UI | 15:25 |
r0kk3rz | from what ive gleaned the backends are the same | 15:26 |
leszek | r0kk3rz: I think the version that came for Meego N9 wasn't touched by mozilla and should work fine with everything pre quantum as engine | 15:26 |
r0kk3rz | well the point of this is to use latest firefox-wayland | 15:27 |
leszek | ah hmm... then I am not sure. Needs its own UI I think and then you end up basically with what is already in SailfishOS in parts I fear | 15:28 |
r0kk3rz | on tablet it shouldnt be too bad | 15:29 |
nh1402[m] | I think fiddling with userChrome.css could be enough to make the UI mobile friendly | 15:32 |
r0kk3rz | worth a go if i get that far atleast :D | 15:49 |
*** tadzik1 is now known as tadzik | 16:02 | |
nh1402[m] | you say the backends are the same but Android supports PWA | 16:10 |
r0kk3rz | wont that mostly be an OS thing? | 16:41 |
r0kk3rz | or do PWAs know which browser created them and use that engine | 16:42 |
*** apsilva1 is now known as apsilva | 18:13 | |
*** feodoran is now known as Guest52706 | 23:07 | |
*** feodoran_ is now known as feodoran | 23:07 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!