New custom “Generic static Text" with word wrap

This “Generic static Text" with word wrap allows you to:

  • Adjust the label color
  • Align the text block to the left
  • Align the text block to the center
  • Align the text block to the right

As you can see from the examples, this Generic static text with word wrap looks great on any background, whether solid, gradient, or bitmapped.

genstattextwordwrap_demo.zip (149.1 KB)

Additionally, this widget is cross-platform compatible and has been successfully tested on the following operating systems:

  • Windows 10/11 | Python 3.11.9 |
    wxPython 4.2.3 | wxWidgets 3.2.6

  • Linux Mint 21 | Python 3.10.12 |
    wxPython 4.2.1 gtk3 | wxWidgets 3.2.2.1

  • MacOS Sequoia 15 | Python 3.12.4 |
    wxPython 4.2.2 | wxWidgets 3.2.6

Regards

The “Generic Static Text” widget with word wrap offers a dynamic means of presenting text with options that can be tweaked for label color and text alignment (left, center, or right). It is suitable for use on any background, either solid, gradient, or bitmapped. The widget supports all platforms, having been tested successfully under Windows 10/11 (Python 3.11.9, wxPython 4.2.3), Linux Mint 21 (Python 3.10.12, wxPython 4.2.1 gtk3), and MacOS Sequoia 15 (Python 3.12.4, wxPython 4.2.2). To examine it more closely, you can run the demo available in the “genstattextwordwrap_demo.zip” file.