-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui) - LVGL conversion for telemetry. #3070
Conversation
AFAIK for everything but FrSky alarms are not based on RSSI but on some other sensors (e.g. for FlySky it is Sgnl), so maybe different name would be better. |
4f0f222
to
58cac6b
Compare
True, but it's not a static label - it changes with the protocol - |
|
IMO sensor ID is VERY nice to have for development/debugging. It may be convenient for flying you have several similar sensors. |
Ok so it's like before. Just I'd v-center and h-center in column between sensor number and sensor name. |
Hmm so we can have "dev-mode showing that". Without ID column GPS coords will fit nicely in vertical layout |
I think that dev-mode might be sufficient. Especially if it can be configurable rather than compile-time option. |
@philmoz one more thing
|
58cac6b
to
d159f7b
Compare
Not so much a "dev" mode, as end users will need that... more perhaps another checkbox like the "Ignore Instances" one but this one would be "Show Sensor ID" or similar... if we can update the table on the fly / rebuild the page if necessary (i.e. not need the user to leave the page to see the change). Otherwise that option would need to go somewhere else. I suspect worst case GPS position still may not fit - so two lines may be better for that. |
8e995f2
to
9e36fff
Compare
@philmoz Can you take the below onboard as a future enhancement to this PR? Another thought might be to double-line the GPS co-oords so that the font size stays the same.
|
@philmoz |
Addendum: The Start Sensor Search button loses focus as soon as a new sensor is found. |
* main: (30 commits) feat(cpn): Radiomaster Boxer support (EdgeTX#2910) chore: Move __global_locale to FLASH (frees some RAM!) (EdgeTX#3169) chore: Remove obsolete language defines, single source for telemetry sensor names (EdgeTX#3119) feat(lua): Port of NodeMCU Lua53 read-only tables (EdgeTX#2994) chore: New module/serial API (EdgeTX#3055) chore: Updated SE translations 🇸🇪 (EdgeTX#3148) Update README.md fix(color): Duplicate selected theme, update color list (EdgeTX#3122) fix: Regenerate yaml, carryTrim => trimSource cleanup (EdgeTX#3121) chore(color): LVGLify custom mixer scripts page (EdgeTX#3071) fix(translation): String casting for CZ/IT/FR Fixes EdgeTX#3145 fix(cpn): Save "set main view" number for special/global function (EdgeTX#3132) chore(color): LVGLify statistics and debug screens (EdgeTX#3072) chore(color): LVGLify and enhance model -> telemetry page (EdgeTX#3070) chore: Updates to Danish translations 🇩🇰 (EdgeTX#3128) chore: CN/TW translations for theme save and delete strings (EdgeTX#3129) chore: fix STM32 HAL headers fix(color): Overlap in logical switch monitor footer (EdgeTX#3137) fix(doc): LUA doc link to units.md feat(color): Change global variables layout to better match other pages (EdgeTX#3116) ...
Conversion to LVGL flex layout for telemetry pages.
For portrait layout, long strings like GPS are displayed in small font in order to fit.