[FREE] Auto Label&Button Font Size

Auto Label And Button Text Size Extension
Release date: 2022-12-27T22:30:00Z
Update Date:2023-01-02T21:00:00Z
Current version code : 2

Description

Hello every one. Today I introduce my first public extension. Auto font size for labels. Through this extension, font sizes of your labels automaticly change. so you can make designs without having to guess the lengths of string values from your users.

p.s. It supports buttons as well.

all the blocks

my extension blocks images


Documentation

Methods

Include a Download link here; can be direct or a link to your website/host

  • Set Auto Font Size With Configuration
    Custom set with granularity
    component_method(1)
    label~ component
    minFontSize~ int
    maxFontSize~int
    autoFontSizeGranularity~int

  • Set Simple Auto Font Size
    Simple setting
    component_method(3)
    label~ component

  • Set Auto Font Size With Preset
    Set auto font size with list
    component_method(2)
    label~ component
    list~ YailList

  • Use -1 to cancel setting or to center your text in layout:

    blocks (1)

    Download V1:
    AutoTextSize.aix (797.5 KB)
    Download V2 (Size Reduced greatly):
    AutoTextSize.aix (49.3 KB)

    7 Likes

    download link ?

    get it :point_up_2:

    done Good Work :partying_face:

    That was good one. But may i know why the size is 790+ kb?

    Nice plugin. Good luck.

    because it uses a large library required for devices with api level lower than 26

    1 Like