Article - CS420114

Icon size is limited and alignment is incorrect on icon only Button widgets in ThingWorx

Modified: 15-Oct-2024   


Applies To

  • ThingWorx Platform 9.2 to 9.5

Description

  • Image only Button widgets are limited in the size of their icons when the widget label property is blank
  • Icons larger than 34px square are being truncated/ cropped in Button widgets
  • Mashups migrated from earlier releases of ThingWorx show incorrect Button icon sizing and alignment
  • Button icons are not enlarging past a certain point when the size is changed in Style Properties
  • Previous custom CSS class is no longer creating a clickable image from a Button widget as in CS328540

Image showing an autosized Button with 100px square icon of the PTC Logo and default label (left), an autosized Button with 100px square icon of thce PTC Logo and blank label (center), and a 115px square Button with 100px square icon of the PTC Logo and blank label (right). The Button widgets without a label are forced to a maximum size of 34px square and crop the icon displayed.

    This is a printer-friendly version of Article 420114 and may be out of date. For the latest version click CS420114