Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-160093

[Gametest mojang-minecraft-ui] ModalFormData .icon() is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.19.20.24 Preview, 1.19.11 Hotfix
    • Confirmed
    • Windows
    • 865300

      Summary:

      ModalFormData.icon() has the argument "iconPath: string" and ActionFomrData.button() has same one.
      From above, I consider these usages to be the same.

      Thus, I expected that setting the same arguments to these would yield the same results, but that failed.

      The result is that the icon is displayed only on ActionForm and not on ModalForm.

      Step to reproduce:

      1. Define an ActionForm and add a button with icon to it.
      2. Define a ModalForm and add an icon and some input to it. The iconPath must be same as ActionForm.
      3. Start game and show defined formsĀ in any way you wish..

      Observed results:

      The specified icon is displayed on ActionForm, but nothing on ModalForm.

      Expected results:

      The specified icon is displayed on both of ActionForm and ModalForm.

            magnet2000 Satoru Nakajima
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: