Skip to content

4.4.1 sharp: Changing the font size in a theme at runtime not working (or am i missed something?) #107657

Closed as not planned
@Jiaming00

Description

@Jiaming00

Tested versions

4.4.1 sharp stable

System information

win10

Issue description

Changing font size in theme at runtime, not working

Steps to reproduce

  1. Create a new project
  2. Add a Control parent node
  3. Add a Button child node
  4. Create a new theme on the parent node and add the Button font_size attribute to 50
  5. Attach a script to the parent node and change the Button font_size attribute in the theme obtained by GetTheme to 10 in the ready function
  6. No change to the button.

Minimal reproduction project (MRP)

theme_font_size_runtime_test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions