Skip to content

[Feature request] Optimize the usage of initWidth in StickerEditorConfigs #724

@DearZack

Description

@DearZack

Platforms

Android

Description

When adding addLayers, the default size of WidgetLayer follows initWidth (default 100), but some scenarios require a different size. The temporary solution I have found now is to modify the scale. For example, when I want Layer = 32, I set the scale to (32 / 100.)
Although it can be implemented, I always feel that this usage is a bit strange.
Can you add a parameter when adding without using initWidth? This is equivalent to not using stickerEditorConfigs.initWidth in LayerWidgetCustomItem, or only using initWidth when the specified width is not set when adding

Why

The added sticker wants to have a different initialization size

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions