Is there any way how to change size of ' Finish
' button in Install4j
. In style definition, there is a control button and in its initialization script I'm trying:
configurationObject.setSize(150,80);
configurationObject.setToolTipText("Install application");
SetSize do nothing. But tooltip is set correctly. Is any problem with my code? Or are there any attributes which cannot be set by code?
There is a layout manager at work, so calling setSize
only has a temporary effect.
Try
configurationObject.setMinimumSize(new java.awt.Dimension(150, 200));
instead.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.