-
Notifications
You must be signed in to change notification settings - Fork 791
Description
The max_size
parameter on displayio.Group
is currently ignored and is (hopefully) going to be removed before 7.0.0 final.
The libraries are having this parameter removed from them - adafruit/circuitpython#4959
Edit: I've update the grep to look for max_glyphs
related to DIsplay_Text Label as well.
This issue is intended as a tracking issue as the Learn Guide code is worked through
{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | sed -e "s/\/.*//" | sort | uniq
to give directories
{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | grep -v "_JEplayer_" | sort
gives (updated 2021/08/06 14:20 BST)
Matrix_On_Air/matrix_on_air.py: deco_font, color=color[1], text="AIR", max_glyphs=6
Matrix_On_Air/matrix_on_air.py: deco_font, color=color[3], text="OFF", max_glyphs=6
Matrix_On_Air/matrix_on_air.py:group = displayio.Group(max_size=22)
PyPortal_Calculator/code.py:calc_display = Label(font, text="0", color=BLACK, max_glyphs=MAX_DIGITS)
PyPortal_Calculator/code.py:calc_group = displayio.Group(max_size=25)
PyPortal_Calculator/titano_code.py:calc_display = Label(font, text="0", color=BLACK, max_glyphs=MAX_DIGITS)
PyPortal_Calculator/titano_code.py:calc_group = displayio.Group(max_size=25)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.date_text = Label(self.medium_font, max_glyphs=60)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.description_text = Label(self.small_font, max_glyphs=60)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.holiday_text = Label(self.medium_font, max_glyphs=60)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self._icon_group = displayio.Group(max_size=1)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.main_text = Label(self.weather_font, max_glyphs=20)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.temp_text = Label(self.large_font, max_glyphs=6)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self._text_group = displayio.Group(max_size=12)
PyPortal_Titano_Weather_Station/openweather_graphics.py: self.time_text = Label(self.medium_font, max_glyphs=8)
If the associated Learn Guide text needs updated I will make a comment on any created PRs. Is there a better way to do this @kattni or @makermelissa ?
- AHT20_OLED - AHT20-OLED: Remove max_size usage from displayio.Group #1605 AHT20 OLED: Update for CP7 #1704
- azure_gfx_helper.py - Azure gfx helper: Update for CP7 #1627
- Baudot_TTY - Baudot_TTY: Remove max_size usage from displayio.Group #1607 Baudot TTY: Update for CP7 #1705
- Buckaroo_Plant_Care_Bot - Buckaroo_Plant_Care_Bot: Updates for CP7 #1608 Buckaroo Plant Care Bot: Update for CP7 #1717
- Circuit_Playground_Sailor_Moon_Star_Locket - Circuit_Playground_Sailor_Moon_Star_Locket: Update for CP7 #1609
- CircuitPython_Display_Text - CircuitPython_Display_Text: Update for CP7 #1612
- CircuitPython_Flying_Toasters - Flying_Toasters + Scrolling_Clouds: Update for CP7 #1614
- CircuitPython_JEplayer_mp3 - JEplayer MP3: Update for CP7 #1632
- CircuitPython_Pyloton - Pyloton: Update for CP7 #1631
- CircuitPython_PyPaint - Pypaint: Update for CP7 #1622
- CircuitPython_RGBMatrix - RGBMatrix: Update for CP7 #1623
- CircuitPython_RPN_Calculator - RPN Calculator: Update for CP7 #1618
- CircuitPython_Scrolling_Clouds - Flying_Toasters + Scrolling_Clouds: Update for CP7 #1614
- CircuitPython_SharpDisplay_Displayio - SharpDisplay: Update for CP7 #1624
- CircuitPython_Sip_and_Puff - Sip and puff: Update for CP7 #1628
- CircuitPython_Slider - Slider: Update for CP7 #1629
- CircuitPython_Touch_Deck - Touch Deck: Update for CP7 #1630
- CircuitStonks - CircuitStonks: Update for CP7 #1706
- CLUE_Altimeter - CLUE Altimeter: Update for CP7 #1634
- CLUE_BBQ - CLUE BBQ: Update for CP7 #1635
- CLUE_Egg_Drop - CLUE Egg Drop: Update for CP7 #1636
- CLUE_Hand_Wash_Timer - CLUE Hand Wash Timer: Update for CP7 #1637
- CLUE_I_Ching - CLUE I Ching: Update for CP7 #1638
- CLUE_Light_Painter - CLUE Light Painter: Update for CP7 #1646
- CLUE_Metal_Detector - CLUE Metal Detector: Update for CP7 #1647
- CLUE_Metronome - CLUE Metronome: Update for CP7 #1648
- CLUE_Milk_Checker - CLUE Milk Detector: Update for CP7 #1649
- CLUE_Rock_Paper_Scissors - CLUE Rock Paper Scissors: Update for CP7 #1650
- CLUE_Sensor_Plotter - CLUE Sensor Plotter: Update for CP7 #1651
- Clue_Step_Counter - CLUE Step Counter: Update for CP7 #1652
- CPB_AMS_Gizmo_BLE - CPB AMS Gizmo BLE: Update for CP7 #1653
- CPB_ANCS - CPB ANCS: Update for CP7 #1654
- EInk_CircuitPython_Quickstart - EInk CircuitPython QuickStart: Update for CP7 #1655
- FunHouse_IOT_Hub - FunHouse IOT Hub: Update for CP7 #1656
- IoT_Party_Parrot - IoT Party Parrot: Update for CP7 #1657
- I_Voted_Pin - I Voted Pin: Update for CP7 #1658
- LED_Matrix_Scoreboard - LED Matrix Scoreboard: Update for CP7 #1659
- Macropad_Ableton - Macropad Ableton: Update for CP7 #1660
- Macropad_Dragon_Drop - Macropad Dragon Drop: Update for CP7 #1695
- Macropad_Hotkeys - Macropad Hotkeys: Update for CP7 #1661
- MagTag_Christmas_Countdown - MagTag Christmas Countdown: Update for CP7 #1663
- MagTag_Dishwasher_Status - MagTag Dishwasher Status: Update for CP7 #1665
- MagTag_Goole_Calendar - MagTag Google Calendar: Update for CP7 #1707
- MagTag_NextBus - MagTag Next Bus: Update for CP7 #1666
- MagTag_Project_Selector - MagTag Project Selector: Update for CP7 #1667
- MagTag_Tides - MagTag TIdes: Update for CP7 #1668
- MagTag_Weather - MagTag Weather: Update for CP7 #1669
- Matrix_On_Air - Matrix On Air: Update for CP7 #1684
- Matrix_Portal_Moon_Clock - Matrix Portal Moon Clock: Update for CP7 #1685
- Matrix_Portal_Tip_Jar - Matrix Portal Tip Jar: Update for CP7 #1686
- Matrix_Sprite_Animation_Player - Matrix Sprite Animation Player: Update for CP7 #1687
- Metro_Matrix_Clock - Metro Matrix Clock: Update for CP7 #1688
- MIDI_CLUE_BLE_Glove - MIDI Clue BLE Glove: Update for CP7 #1689
- MIDI_Melody_Maker - MIDI Melody Maker: Update for CP7 #1690
- Minecraft_Turbopad - Minecraft Turbopad: Update for CP7 #1708
- Minesweep - Minesweep: Update for CP7 #1692
- Pico_MIDI_Fighter - Pico MIDI Fighter: Update for CP7 #1693
- PyBadge_Blinka_Jump_Game - PyBadge Blinka Jump Game: Update for CP7 #1694
- PyBadge_Conference_Badge - PyBadge Conference Badge: Update for CP7 #1696
- PyGamer_Improved_Thermal_Camera - PyGamer Improved Thermal Camera: Update for CP7 #1709
- PyGamer_NeoPixel_Strip_Control - PyGamer Neopixel Strip Control: Update for CP7 #1697
- PyGamer_Thermal_Camera - PyGamer Thermal Camera: Update for CP7 #1703
- PyPortal_AWS_IOT_Planter - PyPortal AWS IOT Planter: Update for CP7 #1710
- PyPortal_Azure_Plant_Monitor - Azure gfx helper: Update for CP7 #1627
- PyPortal_Calculator - PyPortal Calculator: Update for CP7 #1715
- PyPortal_CircuitPython_2020 - PyPortal CircuitPython 2020: Update for CP7 #1716
- PyPortal_Electioncal_US - PyPortal Electioncal US: Update for CP7 #1724
- PyPortal_EventCountdown - PyPortal EventCountdown: Update for CP7 #1725
- PyPortal_EZ_Make_Oven - PyPortal EZ Make Oven: Update for CP7 #1726
- PyPortal_GCP_IOT_Planter - PyPortal GCP IOT Planter: Update for CP7 #1737
- PyPortal_Google_Calendar - PyPortal Google Calendar: Update for CP7 #1738
- PyPortal_Halloween_Countdown - PyPortal Halloween Countdown: Update for CP7 #1739
- PyPortal_Hurricane_Tracker - PyPortal Hurricane Tracker: Update for CP7 #1740
- PyPortal_IOT_Scale - PyPortal IOT Scale: Update for CP7 #1741
- PyPortal_ISS_Tracker - PyPortal ISS Tracker: Update for CP7 #1742
- PyPortal_LIFX_Controller - pyportal lifx controller cp7 updates #1736
- PyPortal_Mogwai_Clock - pyportal mogwai cp7 updates #1735
- PyPortal_MQTT_Control - pyportal mqtt control cp7 updates #1734
- PyPortal_OpenWeather - pyportal openweather cp7 updates #1733
- pyportal_pet_planter - pyportal pet planter cp7 updates #1732
- PyPortal_Philips_Hue_Controller - pyportal phillips hue cp7 updates #1731
- PyPortal_Quarantine_Clock - pyportal quarantine clock cp7 updates #1730
- PyPortal_Remote - pyportal remote cp7 updates #1729
- PyPortal_Smart_Thermometer - pyportal smart thermometer station cp7 updates #1728
- PyPortal_Titano_Weather_Station - pyportal titano weather station cp7 updates #1727
- PyPortal_TOTP_Friend - pyportal totp cp7 updates #1714
- PyPortal_Trivia_Time - pyportal trivia cp7 updates #1713
- PyPortal_User_Interface - pyportal interface cp7 updates #1712
- PyPortal_UV_Index - pyportal uv index cp7 updates #1702
- PyPortal_Wakeup_Light - pyportal wakeup light cp7 updates #1711
- pyportal_weather_station - pyportal iot weatherstation cp7 updates #1700
- RGB_Matrix_Slot_Machine - matrix slot machine cp7 updates #1699
- Say_Their_Names_LEDMatrix - cp7 updates and text position #1698
- Smart_Alarm_Clock - smart alarm clock cp7 updates #1683
- TFT_Gizmo_Snowglobe - snowglobe cp7 updates and background fix #1682
- Tilemap_Game_With_CircuitPython - tilemap game cp7 updates and text location fix #1681
- Vertical_Garden_Barometer - Vertical garden cp7 #1680
- Voice2Json_Edge_Detection - Voice2json cp7 updates #1679
- Weather_Display_Matrix - weather display matrix cp7 updates #1678