[?] Resizing a child window - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [?] Resizing a child window (/showthread.php?tid=65538) [?] Resizing a child window by Matti on 08-29-2006 at 03:43 PM
Okay, as I now want to extend the GUI of Countdown Live, I would like to let the user resize the preferences window. Therefore, the child windows have to resize too... but they don't. This is what the XML looks like: code: code:And this is how the result looks like: *containg = containing For the full code, look on PasteBin. Any ideas how to fix this? RE: [?] Resizing a child window by Matti on 08-29-2006 at 06:41 PM
[BUMP!] RE: [?] Resizing a child window by Jimbo on 08-29-2006 at 06:49 PM
I think your code is the only way to do it, RE: [?] Resizing a child window by Matti on 08-29-2006 at 07:13 PM
Damn, that's exactly what I thought. RE: [?] Resizing a child window by markee on 08-29-2006 at 09:51 PM In the XML where you are defining the size of the window (under "<ChildTmpl/>") you have width and height (this resizes the child window for you), just add left and top there and it will move the window into the position you want so it looks centred in the parent window, I am quite sure. Sorry for not being overly confident on this one but I usually get Jay_Jay to do my windows and I don't have the scripting documentation at uni. Have a look in the XML schema thing there (the bottom one all the way through) and if you have a look at the different adjustments you can make and compare them to what you have in your XML you should start to notice patterns and understand how the schema documentation is set out for future reference (don't worry it took me a while to understand too ) RE: [?] Resizing a child window by Matti on 08-30-2006 at 08:10 AM
quote:I don't want to place the whole child window in the center, but I want to anchor the elemens in the child to the sides of the parent. And therefore, I have to let the child window resize along with the parent. Anyone has other ideas? |