Closed dkrautha closed 3 years ago
We should leave issue #15 alone for now until this issue is closed, as any changes made to #15 now will have to be overwritten once this is closed.
In designing VerticalAxisWidget
, there's a need to have one StyledMultiShape
, and two MultiText
s, one to be horizontal to draw the vertically descending tick labels, and the other to draw the axis title vertically. This doesn't follow the convention of Widget2D, so I'll be switching to using SuperWidget2D
.
So I broke something in MultiText and despite reversing my changes to be 1-to-1 with main and building clean, I could not get text to be rendered to the screen anymore. I'm closing this issue because of that as well as the changes were likely going to increase complexity of using axes anyway by having double the number of possible objects.
After working more on making vertical tick label drawing look better,
AxisWidget
is getting significantly more crowded with code for both horizontal and vertical drawing ending up in the same functions. At this point its probably best to split them into two separate widgets, or to subclass from some parent class that acts as an interface for the two of them.