Is there a way to know the Glance DC position in respect to the physical screen?

Asking because I implemented text scrolling while in Glance but the DC width is always the same, no matter where the Glance is on screen. On a round device, that's problematic as the text is clipped sooner and therefore needs to scroll when the text is smaller than in the middle. So, again, is there a way to know the Glance DC position in respect to the physical screen?

Thanks.

  • It's not possible.  The dc will always be the same.

    The scrolling is what might cause you issues.

    See https://developer.garmin.com/connect-iq/core-topics/glances/#glances

    You got Live Ui Updates and Background Ui Updates

    And with Live Ui Updates, it says this:

    "Note: It’s highly recommended that the update rate should be kept under 1HZ to provide a better scrolling experience."

    On devices with Background Ui Updates, you really can't scroll at all.

  • It's no issue at all. It's just that text that fits in full in the middle (and therefore no need to scroll) might be clipped when near the top or bottom of the screen. I would have wanted to know where the Glance is shown on screen so I could adjust the scrolling accordingly.

    On devices with Background Ui Updates, you really can't scroll at all.

    Why do you say that? I've tested on my physical Venu2 and simulated a Fenix 6 Pro (I simulate that one to try on watches with just 32KB of background space) and on both, it does scroll well. When an update happens on my Venu2 or Fenix 6 Pro, and new info shows up, it simply restart the scrolling from the beginning.

  • The venu 2 uses live updates.  As does the f6 pro.  The non-pro f6 uses background.

    You're only testing with devices with Live Ui Updates for glances.

    BTW, the just announced Instnct2x is another device without live updates.

    Live vs background isn't something you can determine based on memory for a glance or in any other way.

  • Oh, ok, The Non Pro Fenix6 doesn't have enough memory to run that widget so it's not even in the list, Same for the Instinct for the same reason. Only watches with 128 KB+ of memory have enough space to run that widget. Those with just 32 KB of background memory have limited Glance functionality compared to those with 64 KB.