Thanks Scott.
I will investigate that avenue tomorrow and see how I can get my code incorporated in there. Shouldn't be a problem from the looks of your example.
I pretty much have a frame created for the addon itself as if it was a separate addon and then I reparent it inside the panel. All the positioning of the objects are based on the TOPLEFT or TOPRIGHT of the frame with buttons 2 to x being based on the button in front with a padding space.
But should be able to implement something with the width value to make everything fit. Although looking at that screenshot the text doesn't look too comfortable where I have positioned them with that font - rofl.
Will see what I manage to get working tomorrow.
|