kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
90 stars 50 forks source link

BUG: Corrected shading for vertical orirentation. #40

Closed joco-nz closed 4 years ago

joco-nz commented 4 years ago

Corrected logic to deal with border display based on orientation. Removed trying to rotate text in vertical display. Removes need to traying to deal with width issues and working out correct bar width to display text as it widens as percentage climbs to 100%.

ToDo: It may be possible to get the text displayed in horizontal form when bar is vertical. But that is not immediately obvious and could become a timesink "blocker" when the widget is perfectly usable and useful as is.