* Add option to align title text in window
I found that i really needed a basic way to align the title text in a window, and therefore i did a bit of tinkering and came up with this solution. Mind you that I'm very new to this so it might not be the most optimal way. I have tested a bit and it pretty looked promising,
I have of course written the alignments as I felt was most suitable, but I shouldn't be the judge of that.
Current alignment:
LV_TXT_FLAG_CENTER makes the text align in the center of the header but ensures it can’t overextend into to header button area;
LV_TXT_FLAG_RIGHT makes the text align at the right side, but takes the right side header buttons into account
LV_TXT_FLAG_FIT & LV_TXT_FLAG_EXPAND I wasn’t too sure about what to do so as of now it just aligns them as normal
LV_TXT_FLAG_NONE Is equal to no flag set by the user and therefore I have just set it to the default coords, like normal. The text then align at the left side.
* Update lv_win.h
* Added functions
Added function to set and get alignment of the header title as requested
* Added functions
Added setter and getter functions for the header title alignment as requested
* Kconfig: Add missing _HEX to LV_COLOR_TRANSP option.
* lv_conf_checker: Define LV_CONF_SKIP if CONFIG_LV_CONF_SKIP is defined.
* fix(indev): disabled object shouldn't absorb clicks but let the parent to be clicked
* Update README.md
* fix(arabic): support processing again alraedy processed texts with _lv_txt_ap_proc
* fix(textarea): support Arabic letter connections
fixes#1888
* Fix#1924: incorrect date on changelog
December 1st is two weeks from 7.7.2 release.
* Kconfig: Fix LV_CONF_MINIMAL related options.
* fix(arabic): support Arabic letter connections
fixes#1920
* fix(arabic): support Arabic letter connections in value string property
* Update CHANGELOG.md
* Update CHANGELOG.md
* Kconfig: Add Zephyr specific code.
* fix: fix double include in lv_obj.c
fix#1926
* Removed trailing semi-colon from macros (#1928)
* Removed commented out test definition
Removed commented out test definition LV_BUILD_TEST
* Remove blank line
* Fix comment spelling
* Added blank line
* Removed trailing semi-colon in macros
* fix(indev): in LV_INDEV_TYPE_BUTTON recognize 1 cycle long presses too
Fixes https://forum.lvgl.io/t/bug-in-indev-button-proc-misses-buttons-that-are-pressed-for-a-single-callback/3699
* fix(arc): make arc work with encoder
fixes https://forum.lvgl.io/t/lv-arc-with-encoder-lv-group/3769
* fix(slider): adjusting the left knob too with encoder
https://forum.lvgl.io/t/slider-with-2-knobs-and-encoder-functionality/3770
* fix(arc_draw): remove statments that do nothing
fix#1930
* Change LV_DRAW_BUF_MAX_NUM to LV_MEM_BUF_MAX_NUM (#1931)
* Update CHANGELOG.md
* fix(draw polygon): join adjacent points if they are on the same coordinate
* fix(draw polygon): fix memory leak and vertex joining
* fix(style): invalidate cache on every PART
Inherited properties on parts other than MAIN needs to be recached on property change beacuse they
are inherted from MAIN
fixes#1933
* fix(anim): fix bounce path
* fix(slider): do not let edit left knob in non-range mode
* Update ROADMAP.md
* Fix hardfault when DCache is disabled with no callback (#1935)
* fix(linemeter): fix invalidation when setting new value
The old complex but more optimal invalidation was buggy in some cases
fixes#1904
* fix(linemeter): fix invalidation when setting new value
The old complex but more optimal invalidation was buggy in some cases
fixes#1904
* fix(table): add missing invalidation when changeing cell type
fixes https://forum.lvgl.io/t/bug-of-table-click-to-change-style/3842
* CMakeLists.txt: Let the user configure whether LV_ATTRIBUTE_FAST_MEM is IRAM_ATTR (#1939)
* fix(slider): fix left/right knob control with encoder
* fix(img): increase the size of invalidated area in lv_img_set_zoom
Becasue of the pivot placement there can be some rounding errors
* feat(perf_monitor): add lv_refr_get_fps_avg()
* Add 8px and 10px montserrat fonts to build (#1941)
* Fix#1942: lv_textarea_set_pwd_mode not changing to bullets
Thanks to @fvanroie for investigating.
* fix(material): make button pressed color darker (#1940)
* simplify touch handling in the Arduino example
* Update ROADMAP.md
* Update ROADMAP.md
* feat(lv_conf_kconfig): add LV_CONF_KCONFIG_EXTERNAL_INCLUDE
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: xennex22 <25083624+xennex22@users.noreply.github.com>
Co-authored-by: incity <610455681@qq.com>
Co-authored-by: Andrey <spirit@spirit.re>
Co-authored-by: defogprog <22955033+defogprog@users.noreply.github.com>