Script background size problem
Hi, I'm back :) This time I have a (probably trivial) problem that I can't solve. But let's start from the beginning. I wrote a script (addon for Blender 4.x) which, when called (Shift + Ctrl/Opt + k), allows keyframing individual parameters of an animated object. I'm trying to animate something, and clicking the mouse on the transformation panel just gets tedious for me :) The 'i' key inserts keyframes in all fields, and with 'k' the option to insert a keyframe for only one axis in a given transformation is missing, and besides, the Graph Editor gets dense with those unwanted keyframes. I mean, specifically the location along the Z-axis, or the rotation along the Y-axis, etc. There's even an option to remove a keyframe if one exists on the current frame. But I don't know why the background of this script (addon/plugin) expands to the width of the window instead of adjusting to the content of the UI elements. What should I do about this, how can I live? :D I'm including below the script & screenshot.