<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets/qml, branch v4.8.3</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom/mobile-widgets/qml?h=v4.8.3</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom/mobile-widgets/qml?h=v4.8.3'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-09-27T13:36:22Z</updated>
<entry>
<title>mobile, QML UI: Settings page scalability</title>
<updated>2018-09-27T13:36:22Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-27T09:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0ad7df985972bee42f925d2e2853587307e3ef7a'/>
<id>urn:sha1:0ad7df985972bee42f925d2e2853587307e3ef7a</id>
<content type='text'>
A relatively big change for such a simple page. Most relevant
changes are:

1) Do not use Kirigami.Header anymore. It appears that this header
has word wrapping on (and we cannot override that). This is
annoying on this page, as headings seems randomly be split over
2 lines, even in cases where there is more than enhough room to
display it on one line. And as the Kirigami.Header is just a
trivial wrapper of a Text field, we can simple replace it.

2) A lot of the toplevel GridLayouts had width properties set. These
are not needed (and confused my debugging code), so they are removed
withput any visual change. As a general rule, do not try to set
properties that are not needed. In general, it can only lead to
binding loops or undefined behavior.

3) Add a font size to our Theme. The step from regular to title size
was a little too big.

4) And, obviously, numerous font.pointSize lines are added to actually
resize the font.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML UI: whitespace in dive details page</title>
<updated>2018-09-26T15:38:53Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-26T13:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=441e06cdb89d8c3be39a6a99d092a2b30d67dd0a'/>
<id>urn:sha1:441e06cdb89d8c3be39a6a99d092a2b30d67dd0a</id>
<content type='text'>
There was a strange big margin at the top of the the dive details
page. Just make it a bit more "normal".

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML UI: margings and paddings in download screen</title>
<updated>2018-09-26T15:38:53Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-26T12:57:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=97031da0d8a69ee107978acec07e56b1bf2b7843'/>
<id>urn:sha1:97031da0d8a69ee107978acec07e56b1bf2b7843</id>
<content type='text'>
There was a significant of not needed whitespace on the download from
DC page. Most importantly, the bottom buttons where not on the bottom,
so we had to truncate the downloaded dives early (to prevent overflowing
the buttons). Further, a tiny bit of padding is removed between the
3 top pull down items.

All this, results in the diplay of more dives without scrolling.
For example, previously, only 1 dive (with 1 stored DC) was shown
on my 5.5" device, and now 3 (scale: regular).

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML UI: make SsrfCheckBox resizable</title>
<updated>2018-09-26T15:38:53Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-26T09:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8ab8a67f818952b7f720276160c25847bad93480'/>
<id>urn:sha1:8ab8a67f818952b7f720276160c25847bad93480</id>
<content type='text'>
Changed some hard coded size and positioning of the SsrfCheckBox,
in such a way that is scales nicely to the current setting of the
mobile_scale.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML UI: fix overlapping button</title>
<updated>2018-09-26T15:38:53Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-26T07:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7367d2535f89293d4fbff55e4494b48b41cb91b8'/>
<id>urn:sha1:7367d2535f89293d4fbff55e4494b48b41cb91b8</id>
<content type='text'>
The select buttons in the downloaded dives delegate overlapped
the dive data. Simple margin change fixes this.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML UI: ssrfButton and download controls resizable</title>
<updated>2018-09-26T15:38:53Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-25T17:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=be1d3a7986a8edc5f72ee7efdba5ec4618cd8870'/>
<id>urn:sha1:be1d3a7986a8edc5f72ee7efdba5ec4618cd8870</id>
<content type='text'>
Make the ssrfButton and the pull down menu's on the download page
resizable. Notice that also the contents of the pulldown
menu's is scaled based on the font size.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Mobile: use editText instead of currentText in Suit and DiveMaster boxes</title>
<updated>2018-09-25T16:27:16Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-09-18T05:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0aab39b35dd034a558282ca8ee53e9dfe838e0b9'/>
<id>urn:sha1:0aab39b35dd034a558282ca8ee53e9dfe838e0b9</id>
<content type='text'>
A user reported problems with editing the Suit and DiveMaster fields.
Apparently, editing does not change the currentText. Without doing
a deeper analysis, simply use editText (a more proper fix might be
changing the currentIndex on editing).

(Parially?) fixes #1694

Reported-by: Mark Powell &lt;mcpowell123@gmail.com&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>mobile, QML: correct font scaling of the divelist</title>
<updated>2018-09-25T14:01:39Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-25T11:09:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6850e6d567811e94f0c15fd06206b4cc5bbc030c'/>
<id>urn:sha1:6850e6d567811e94f0c15fd06206b4cc5bbc030c</id>
<content type='text'>
Changing the scale, it seems that the header of trips is not rescaled.
The reason for this is simple. That string does not use our manipulated
font but a different one. In fact, this is the only ocurrence on the
divelist that did not scale. However, other screens hardly rescaled at
all. All these will be fixed in seperate commits.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML: scale font from the buttons</title>
<updated>2018-09-25T14:01:39Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-25T11:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b332dd108a202af766e8e6414c55965b892b4af0'/>
<id>urn:sha1:b332dd108a202af766e8e6414c55965b892b4af0</id>
<content type='text'>
After the work in the previous commit, it gets very simple to implement
font scaling. Just assign a the new desired font scale to the used
font metrics. The QML engine does all the work.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile, QML: introduce basePointSize in subsurfaceTheme</title>
<updated>2018-09-25T14:01:39Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-09-25T10:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c2c751c164f3aca50a41b318e240dbcd0722ac1a'/>
<id>urn:sha1:c2c751c164f3aca50a41b318e240dbcd0722ac1a</id>
<content type='text'>
By manipulation the used font pointSize property, we can dynamically
scale fonts and derived UI objects. At the same time, we have
some logic to determine the default font, its size, etc, for example
depending on screen properties. The scaling of the UI (and its font)
does not need to interfere with those defaults.

However, when we want to reset the pointSize, we alter the default, so
a backup of the default is needed. Ok, not al full backup, as the only
thing we like to manipulate is the pointSize, to which we want to be
able to return.

All this leads to this commit. A basePointSize property is added, that
is initialized from the default. Due to the binding logic of the QML
engine, it is not a classic initialization, but a binding between the
2 properties. We need to break that binding explicitly, so that
the original PointSize is always preserved.

In addition, a display of the new font property is added to the
developers theme test.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
</feed>
