- NSIS Discussion
- Resizing the License text box
Archive: Resizing the License text box
AlexanderG
25th April 2005 17:06 UTC
Resizing the License text box
I imagine this has already been asked, but I can't find it.
How do I change the size of the display area of the license text box? I have already resized the installer window (with Resource Hacker) but the text box is still very small (it is taking up about 1/3 of the available space)
Thanks for any help.
AlexanderG
25th April 2005 17:16 UTC
I am using the modern user interface.
kichik
26th April 2005 20:24 UTC
The license page is also editable using Resource Hacker. Edit dialogs number 102, 108 and 109 in modern.exe.
AlexanderG
27th April 2005 11:12 UTC
That's perfect thanks.
Where could I find documentation of which sections of the *.exe files control which sections of the MUI pages?
Afrow UK
27th April 2005 14:10 UTC
Well if you just look at all the dialogues you should be able to match them up.
The MUI Welcome and Finish page's are not in the UI. They are both made from InstallOptions custom pages.
-Stu
vbgunz
28th April 2005 10:08 UTC
I really really think and would love the idea of a resizable installer... Either fixed or dynamic. Fixed could be set like
MUI_SIZE '780x540'
Dynamic well, I wouldn't worry too much about :)
All screens on the installer regardless of size will always have the same header and footer height. The header and footer will also remain at the top and bottom of the installer. This being the case NSIS should really have no worry in the world about things being out of place as long as the header and footer stretch width wise without problems.
Other screens like license and readme benefit greatly from this as they seem to be cramped even with an agree button. Also, new custom screens can be made, and lengthy form type screens can be better shortened and better organized with greater screen real estate. I really can't see how an amazing application like NSIS can't at least try to offer a native option on this...
If it's hard, how hard can it really be? Just curious.
What do you think Kichik?
kichik
28th April 2005 18:20 UTC
This requires script commands that enable the user to edit the dialogs at compile time. It's possible, the infrastructure is already written. I've had plans to create such commands, but I never got to it.
vbgunz
28th April 2005 20:00 UTC
If you focused on it and got to work on it, about how long would it take you to complete a working version? hypothetically...
kichik
28th April 2005 20:05 UTC
It'll take a couple of hours to get the commands to change the dialogs ready. However, I don't know how the MUI can allow arbitrary sizes to be set. It'll need to calculate the sizes at compile time. That's currently only possible using an external application. It can use some defines to select from a set selection of sizes, but that's already possible now.
vbgunz
28th April 2005 20:26 UTC
It can use some defines to select from a set selection of sizes, but that's already possible now.
What do you mean "already possible"? Do you mean the MUI can be set a preset size bigger or smaller than currently by default? How?
It's also good to know it'll only take a couple hours to complete, should I enter in a feature request at SF?
kichik
28th April 2005 20:35 UTC
It's already possible because you can already create some set UIs and use them using MUI_UI. The MUI can add some defines line MUI_LARGER_UI and MUI_SMALLER_UI which will use those UIs. There is no need for new commands for set sizes.
A lot of things will take only a couple of hours. It's on my todo but so are a lot of other things. You can create a feature request so others will also see it. Someone might want to implement it, though I doubt it. I don't recall ever receiving a patch for a feature request.
vbgunz
28th April 2005 21:13 UTC
Ok, I submitted the feature request. I really think this would open up the doors for creative installers... I checked the MUI Readme for MUI_LARGER_UI and I couldn't find it. I am guessing this doesn't exist?
kichik
28th April 2005 21:22 UTC
MUI_LARGER_UI doesn't exist. What I was trying to say is there is no technical barrier stopping the MUI from providing an option to select between a set of sizes.
saivert
3rd May 2005 07:51 UTC
Interesting...but NO!
But I advise you not to deviate from the Microsoft Wizard 97 User Interface Guidelines. A too large installer window looks unfriendly to a general computer user, and may scare people away. Please keep it the way it is. If you want big, large install windows you better bring up a new window.
vbgunz
3rd May 2005 08:01 UTC
Hello saivert,
Having options is always better than being left without a choice. I wasn't asking that the main MUI be changed in size by default. I was asking an option be made available for those of us who wish to create bigger size installers.
If the option was made available it wouldn't and shouldn't affect anyone's project unless they explicitly choose to define a greater size.
saivert
3rd May 2005 08:14 UTC
Yes, but I don't like any installer whose windows are greater than what they are now. I don't say I endorse whatever M$ is saying, but their User Interface Guidelines are actually pretty useful, and most of it looks OK. I have found myself jammed in a corner when designing my UI, and after a couple of reads on MSDN regarding UI guidelines, I have come up with a nice UI for my app.
vbgunz
3rd May 2005 08:21 UTC
If the option was made available, which option would you choose? Isn't life grand when you have an option ;)
Trust me, it'll make us both happy :)
saivert
3rd May 2005 08:43 UTC
I know, but let's not hijack this topic for our own conversation. Take it to PM....
vbgunz
15th May 2005 01:42 UTC
Kichik!
Kichik,
Did you make a post to this thread? If you did you either deleted it or it was due to database problem because when I tried to access the page I got the following
There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
kichik
17th May 2005 20:29 UTC
I didn't post anything to this thread.
vbgunz
17th May 2005 21:07 UTC
Oh OK. Sorry :(