mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
nspanel_terminal: upstream v0.4.0, larger arrow touch areas, '-' in the clock font
The fixes of ptaru/nspanel-terminal#1 are released in v0.4.0, so the fork is no longer needed. The page arrows get an 88x64 touch area; grid pages and the thermostat move their content below it. The clock font gets '-' for the placeholder shown while connecting.
This commit is contained in:
1 parent
cafa2da954
commit
e3687d321d
4 files changed
+13
-10
No files matched your search
@@ -3,6 +3,8 @@
|
||||
id: ${id}
|
||||
skip: ${skip}
|
||||
styles: page_style
|
||||
# header 64 px high (arrow touch area), 2x112 tiles + gap below, 8 px left at the bottom
|
||||
pad_bottom: 8
|
||||
layout:
|
||||
type: FLEX
|
||||
flex_flow: ROW_WRAP
|
||||
@@ -12,6 +14,8 @@ widgets:
|
||||
text_font: font_s
|
||||
text_color: 0xB4B4BA
|
||||
width: 100%
|
||||
height: 48
|
||||
pad_top: 14
|
||||
text_align: CENTER
|
||||
- <<: !include {file: page_arrow.yaml, vars: {icon: "\U000F0141", align: TOP_LEFT, x: -16, to: "${prev}", hidden: false}}
|
||||
- <<: !include {file: page_arrow.yaml, vars: {icon: "\U000F0142", align: TOP_RIGHT, x: 16, to: "${next}", hidden: "${skip}"}}
|
||||
Reference in new issue
Block a user