How to add Label in predefined page?
-
wrote on 30 Aug 2020, 08:43 last edited by
-
wrote on 30 Aug 2020, 17:12 last edited by
I haven't tried that but I think you should look at
installer.addWizardPageItem
.
Maybe Register File Extension Example could be a good example.
It adds a checkbox to TargetDirectory page.But that would eventually call
addWidget
on the page's layout.
So I think the custom widget could only be added to the bottom part.
If you want it on the top part of the page content, then I have no idea. Maybe better using the sub title. -
I haven't tried that but I think you should look at
installer.addWizardPageItem
.
Maybe Register File Extension Example could be a good example.
It adds a checkbox to TargetDirectory page.But that would eventually call
addWidget
on the page's layout.
So I think the custom widget could only be added to the bottom part.
If you want it on the top part of the page content, then I have no idea. Maybe better using the sub title. -
wrote on 31 Aug 2020, 02:40 last edited by
@narae
You had tried changing title in the script, sub title is similar. Every page has it.widget.title = "New title"; widget.subTitle = "New Sub title";
It will show under the title, and supports rich text.
Sometime there's already text in the sub title (like in the StartMenuDirectory page) and you may want to keep it and just append to it.
widget.subTitle = widget.subTitle + "<br/>New Sub title";
-
@narae
You had tried changing title in the script, sub title is similar. Every page has it.widget.title = "New title"; widget.subTitle = "New Sub title";
It will show under the title, and supports rich text.
Sometime there's already text in the sub title (like in the StartMenuDirectory page) and you may want to keep it and just append to it.
widget.subTitle = widget.subTitle + "<br/>New Sub title";
-
wrote on 1 Sept 2020, 06:39 last edited by Bonnie 9 Jan 2020, 06:45
@narae
I know. I said in that way I can only think of how to add label to the bottom part.
Sub title is another choice I offered.
If you insist the top part of the content area, then I really have no idea so I can't help you. -
@narae
I know. I said in that way I can only think of how to add label to the bottom part.
Sub title is another choice I offered.
If you insist the top part of the content area, then I really have no idea so I can't help you.
1/7