donald2 Posted July 30, 2008 Share Posted July 30, 2008 I am using SplashTextOn, but there is so little white space between the text and the Window that IMO it looks bad. Is there any way to change this behavior? --Donald Link to comment Share on other sites More sharing options...
Paulie Posted July 30, 2008 Share Posted July 30, 2008 Lets see the code!! Link to comment Share on other sites More sharing options...
Bert Posted July 30, 2008 Share Posted July 30, 2008 (edited) You can size the window to suit your taste, as well as change the background color with GUICtrlSetBkColor. You could also make a GUI and design it to suit your taste. Edited July 30, 2008 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
donald2 Posted July 30, 2008 Author Share Posted July 30, 2008 Lets see the code!! Here's the code snippet. SplashTextOn ($Title, $Text, $w, $h, $x, $y, $opt, $fontname, $fontsz, $fontwt)The whole thing is way too long and would take editing to remove proprietary stuff. Not sure what this gets you. But I am uploading a screen shot so hopefully you will see what I mean about needing more white space. --Donald Link to comment Share on other sites More sharing options...
donald2 Posted July 30, 2008 Author Share Posted July 30, 2008 You can size the window to suit your taste, as well as change the background color with GUICtrlSetBkColor. You could also make a GUI and design it to suit your taste. I am already dynamically sizing the window, but since I want the text left justified, that doesn't get me the white space I want around the edges of the text.Please explain what you mean by "make a GUI". --Donald Link to comment Share on other sites More sharing options...
Paulie Posted July 30, 2008 Share Posted July 30, 2008 Here's the code snippet. SplashTextOn ($Title, $Text, $w, $h, $x, $y, $opt, $fontname, $fontsz, $fontwt)The whole thing is way too long and would take editing to remove proprietary stuff. Not sure what this gets you. But I am uploading -[snip]- a screen shot so hopefully you will see what I mean about needing more white space.Lol, a function call with all undefined parameters does no good. Perhaps if i could Also see the values of those variables, i could make a decision as to what the best thing to do would be And by "Make a Gui" he means ditch SplashTextOn() and just make your own splash window using GUICreate() and GUICtrlCreateLabel() Link to comment Share on other sites More sharing options...
donald2 Posted July 30, 2008 Author Share Posted July 30, 2008 (edited) Believe me you really don't want to see how I calculate all the variables. Values are read from an INI file that is intended to change dynamically, so its impossible to know what they can be since the intent is that they be virtually unlimited. The point is that none of the parameters of SplashTextOn define the white space around the text. I guess I'll have to look at GUICreate() and GUICtlCreateLabel() to see if I can do what I want to with it. Edited July 30, 2008 by donald2 --Donald Link to comment Share on other sites More sharing options...
donald2 Posted July 30, 2008 Author Share Posted July 30, 2008 Looks do-able, but far too labor intensive. --Donald Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now