QML Mods (S8) - beat marker height

Christian On S8
Christian On S8 Member Posts: 39 Member
edited October 22 in Mapping Traktor

Hallo, 

I have modified my beatgrid to include bar markers (for S8 / TP4.01/Mac) and to give it the "final touch" I want the beat marker be a little bit smaller (see screen / red part)

Somehow I can't get this to work and it might quite easy for someone of the MOD experts here and can give me a hint

I would assume that the fix need to be here...(?)

    Traktor.BeatgridLines

  {

      anchors.top:          parent.top

      anchors.bottom:      parent.bottom

      anchors.left: parent.left

      anchors.right: parent.right

beatMarkerList: beatMarkers

      color: colors.colorWhite16

    }

Thx a lot,

Christian 

The bar marker MOD (S8) is here:

Tagged:

Comments

  • ErikMinekus
    ErikMinekus Member Posts: 112 Advisor
    edited August 6

    Adding

    anchors.topMargin: 10
    anchors.bottomMargin: 10
    

    should work.

  • Christian On S8
    Christian On S8 Member Posts: 39 Member

    thanks a lot ! It is sometimes too obvious …
    Is there a good document which explains these basics on QML coding FOR Traktor. For me it is at the moment too much guesswork / trail and error to get a job done…reading the source code does not much help…

    Bedankt, Christian

  • ErikMinekus
    ErikMinekus Member Posts: 112 Advisor

    Thankfully, QML itself is very well documented: https://doc.qt.io/qt-6/qmlreference.html

    It also helps if you already know JavaScript. I learned Traktor's QML code by reading it and making changes, restarting Traktor every time to see if it worked 😅 It took many months of trial and error to create my mods.

  • Christian On S8
    Christian On S8 Member Posts: 39 Member

    Thanks, … a very very time consuming process, and with each new Traktor version some mods/parts might not work anymore… but still it is a lot of fun to do.

This discussion has been closed.
Back To Top