Changeset 3d8f61fe in subsurface


Ignore:
Timestamp:
Jun 20, 2017, 7:45:16 AM (5 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
e49301ea
Parents:
3d707dc
git-author:
Dirk Hohndel <dirk@…> (06/20/17 07:42:56)
git-committer:
Dirk Hohndel <dirk@…> (06/20/17 07:45:16)
Message:

QML UI: turn DiveList? heading into label

This way it will render in the same font as the location of a dive.
This will look like crap until the next commit adds a rectangle with
color around it, but this way it's much easier to see the individual
changes.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/DiveList.qml

    r3d707dc r3d8f61fe  
    154154                        width: page.width - Kirigami.Units.gridUnit
    155155                        height: childrenRect.height + Kirigami.Units.smallSpacing * 2 + Math.max(2, Kirigami.Units.gridUnit / 2)
    156 
    157                         Kirigami.Heading {
     156                        Kirigami.Label {
    158157                                id: sectionText
    159158                                text: {
     
    171170                                }
    172171                                visible: text !== ""
     172                                font.weight: Font.Bold
    173173                                anchors {
    174174                                        top: parent.top
     
    179179                                }
    180180                                color: textColor
    181                                 level: 3
    182181                        }
    183182                        Rectangle {
Note: See TracChangeset for help on using the changeset viewer.