Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 71

Threaded View

  1. #4
    Master
    Join Date
    Aug 2011
    Location
    uk
    Posts
    167
    Rep Power
    754

    Default

    Hi kalleh,

    It's probably better if you make the position adjustments yourself so you can get the position of the speedo exactly where you want it.

    This is quite simple to do but may take a little experimentation.

    1/ Open the UX and find the 'morco_button_landscape.css'

    2/ open with notepad or similar and find the section shown below.

    Spoiler: code 1
    TEXT.speedo {
    left: -1000%; top: 20%; right: 10%;
    font: defaultbd;
    fontsize: 150;
    color%warning.driveralert.speed_limit < 10 || %navigation.car.current_speed <= %warning.driveralert.speed_limit ? #0030d7 : #e00000 );
    glowtype:1;
    glowsize:2;
    align:"center";
    paddingleft: 0;
    paddingright: 0;
    text=(%navigation.car.current_speed);
    wordwrap: 1;
    visible: (%lua.speedo);
    }


    To change the position to the left or right, edit ' left: -1000% ' , a higher negative number will change it's position further to the left.

    To change the height position, edit ' top: 20% ' , a lower number will raise it. (negative numbers can be used if needed).


    Here is an example, these numbers should position the speedo to the left but below the 'next turn' image.

    left: -1900%; top: 60%; right: 10%;

    Spoiler: Extra info
    The 'right: 10%' can be removed if you wish. This is part of a legacy position setting that I didn't get around to removing.
    Once removed it will have quit a large impact on position but this can be easily compensated by lowering the left percentage number.

    It's also possible to edit the 'align:"center";' (options = left, right), this will have an effect of aligning the speedo digits to one side or the other. Noticeable when the speedo changes from 1 to 2 or 3 digits.


    Last edited by morco; 15th March 2019 at 05:44 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •