Replies: 1 comment 1 reply
-
WindowBuilder takes the bounds directly from the widgets. I don't think it makes much sense to change the bounds programmatically, as then the preview in the editor wouldn't match the actual widget. Can you perhaps provide the source code so that I can have a closer look at what exactly is going on here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use default java templates with predefined components, one of which sets a default value for its bounds with
setBounds(5, 5, 600, 500);
These bounds are bigger than the default size of the designer editor, and i get the following result:
Is there a way to programmatically set the size of the design ui when the java compilation unit is parsed?
Beta Was this translation helpful? Give feedback.
All reactions