rdiankov / openrave

Open Robotics Automation Virtual Environment: An environment for testing, developing, and deploying robotics motion planning algorithms.
http://www.openrave.org
Other
706 stars 344 forks source link

Add SetTextSize viewer function for adjusting HUD text size #1363

Closed Hsifnus closed 6 months ago

Hsifnus commented 6 months ago

This PR adds a SetTextSize viewer function accessible in Python for changing the HUD text size, which before was fixed at a font size of 18 units for qtosgrave and 10 units for qtcoinrave.

qtosgrave screenshots

In this screenshot, the text size is the default value of 18 units Screenshot from 2024-03-13 13-26-02

Here, the text size is adjusted to 12 units Screenshot from 2024-03-13 13-34-19

Here, the text size is adjusted to 24 units Screenshot from 2024-03-13 13-34-40

qtcoinrave screenshots

In this screenshot, the text size is the default value of 10 units Screenshot from 2024-03-14 09-43-27

Here, the text size is adjusted to 14 units Screenshot from 2024-03-14 09-44-00

Here, the text size is adjusted to 18 units Screenshot from 2024-03-14 09-45-03

Here, the text size is adjusted to 26units Screenshot from 2024-03-14 09-45-32

Hsifnus commented 6 months ago

Closed in favor of https://github.com/rdiankov/openrave/pull/1366