[PATCH] mobile: divedetails page etc. improvements

Lubomir I. Ivanov neolit123 at gmail.com
Mon Nov 16 14:35:49 PST 2015


On 16 November 2015 at 23:47, Sebastian Kügler <sebas at kde.org> wrote:
> On Friday, November 13, 2015 23:59:09 Lubomir I. Ivanov wrote:
>> > Do I make sense to you? If not, proof-of-concept attached. It's quite minimal
>> > and only shows the very basic mechanism.
>> >
>>
>> nice...so ListView pretty much does what's required here out of the
>> box. also Flickable and MouseAreas in the delegate item *just work* -
>> i've just tested that.
>> plus the buffering, which is a great bonus!
>>
>> as long as there no performance issues, this is pretty much good to go
>> in the source.
>
> Next question: Would you want to have a go at it? :)
>
> (I'm happy to review, of course.)

sorry. no promises, as i'm entering a complicated project for my
employer soon...
i'd suggest that you give that a push forward in the meantime.

>> if i manually set "width" and "height" in the ApplicationWindow of
>> main.qml it ignores them but it runs in a huge window!
>> the UI looks quite bad here, but that's probably because i'm using the
>> Windows XP them on Windows 7.
>>
>> any idea how to run the UI in a reasonable desktop resolution e.g. 480x800px?
>
> Not knowing anything about windows, you already suggest to try the default theme,
> so try that. Otherwise, specifying width and height in the top-level item works: it puts
> the initial window at exactly that size.

the top level weight and height don't work for me. it picks it's own
size, for some reason.

>
> You can also try using Window (effectively a QQuickWindow) as top-level item, see
> attached example. Let us know what works for you, then we'll put that in (shouldn't
> cause any problems), and it makes your life easier.
>

thanks, i will give it a try tomorrow.

lubomir
--


More information about the subsurface mailing list