We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Transmitter firmware
in LVGL the 32px font (XXLSIZE) is placed asymmetrically on the vertical line,
in LVGL the 32px font (XXLSIZE) should be placed symmetrically on the vertical line the same as non-lvgl version
local function update(wgt, options) wgt.options = options lytZone2 = {} local text = "FONT XXLSIZE" local ts_w1, ts_h1 = lcd.sizeText(text, XXLSIZE) lytZone2[#lytZone2+1] = {type="label", text=text, x=10, y=100, font=XXLSIZE, color=WHITE} lytZone2[#lytZone2+1] = {type="rectangle", x=10, y=100, w=ts_w1, h=ts_h1, color=BLUE, filled=false} lvgl.build(lytZone2) end
Nightly (Please give date/commit below)
RadioMaster TX16S / TX16SMK2
Windows
win11
The text was updated successfully, but these errors were encountered:
sample code: WIDGETS.ZIP
Note: the right side is my code trying to fix the old issue of lcd.sizeText() is too conservative, it will keep a lot of spares
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
in LVGL the 32px font (XXLSIZE) is placed asymmetrically on the vertical line,
Expected Behavior
in LVGL the 32px font (XXLSIZE) should be placed symmetrically on the vertical line
the same as non-lvgl version
Steps To Reproduce
Version
Nightly (Please give date/commit below)
Transmitter
RadioMaster TX16S / TX16SMK2
Operating System (OS)
Windows
OS Version
win11
Anything else?
The text was updated successfully, but these errors were encountered: