midora Posted October 13, 2011 Share Posted October 13, 2011 There is a small issue with the 'Defaults' button I'm fighting with in a file type plugin. Because the space for settings is limited I'm adapting the ui depending on the current settings. For this I set the 'Autosize' property in my SaveConfigWidget() constructor to true (this.AutoSize = true;). This works fine in most cases and the 'Defaults' button moves depending on the size of the plugin panel. But if the user unfolds a setting to show some sub settings the 'Defaults' button keeps it location and covers some of the controls. It works in the case that unfolding forces Paint.NET to show a vertical scrollbar for the plugin panel. Is there something I can do in the plugin to trigger the owner of the plugin panel to adapt the position of the 'Defaults' button? Or could Paint.NET be changed to react on a size change of the plugin panel? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.