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.
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.