I want Button Margins to be different on Maximized windows

I am configuring a custom combination of the Kde-Story-Flat and Xeno Window Decorations (Aurorae), and my Close, Maximize, and Minimize Buttons were not at the horizontal position I want them to be when the window is not maximized. To fix this, I set the ButtonMarginTop attribute in my KConfig rc file to be -15, which put it where I want. But, when a window is maximized, it has the effect of moving it up beyond where I want it! Is there a way to have the Button Margin behave differently based on whether the window is Maximized or not?