This content has been marked as final. Show 18 replies
I'd like to have a look at your code if you do not mind to share it.
I would be interested in the code too. Your explaination is not clear enough to come up with a viable solution.
Do to confidentiality I can't give the actual code/structure, so I created a simple recreation and in the process found the white box only happens when it has an itemrenderer in a column, but unfortunately it is needed that way so I still need a fix. I did a screen capture to demo both problems.
I will go to $25 each if answered before weekend is over.
I would be happy to take a look at it, but I can't open a .rar file can you put it in a .zip file? Also, I don't want your $25.00...
Ok... I tried my best to dig through that code. I have never seen so many folders for basically 4 items. The white box is being caused by the ItemRenderer... if that is removed, the problem goes away. I realize that's not the answer, but at least it's the variable.
The sizing issues are problems with the SizableTitleWindow - You can put any component in and it starts to get clitchy even if it's just a canvas. This is going to be dealing with overriding the properties of the parent. This is too advanced for me to dig into.
Yeah, 99% percent of the code/files are from the flex/coldfusion wizard, sad fact is that I removed over 1/2 the original files. I will be playing around with the renderer but still would be happy if someone could give me the answer.
I found a 'fix; for the white box if i set backgroundImage in SizeableTitleWindow to anything other than an empty string ie: backgroundImage="." , that it renders fine. This is a fix, but seems like fixing a bug with another bug, so the reward is still on if you can provide me with a proper fix. The white box is the background of the SizeableTitleWindow, so although the itemrenderer is a factor it isn't the problem, it looks like it actually stems from the background rendering in the container class so it may be too deep for beginners like me.
Upgrade your Flex SDK to Flex 2.0.1
I have Flex 2.0.1 here installed here and after the recompilation, the problem is gone.
But slight nuisance was to change line 163 in SizeableTitleWindow.as
protected function getHeaderHeight():Number
override protected function getHeaderHeight():Number
JabbyPandaUA u wanna send me your paypal info via private message.
This still leaves the column resizing issue, the reward for that is still $25
I just wanted to know if you found a fix for the resizing issue?
The column resize issue: no, the window resize white box issue yes, JabbyPandaUA gave the fix for it.
Regarding your first issue: Do you need your SizeableTitleWindow to support resize by itself?
If NO, than just disable
the line 101 this.addEventListener(MouseEvent.MOUSE_DOWN, resizeDownListener); in SizeableTitleWindow.as
If YES, you need SizeableTitleWindow to support resize by itself, then please update the line 258 of SizeableTitleWindow.as in method protected function resizeDownListener(event:MouseEvent):void
if (cursorStyle != cursorSizeNone && cursorStyle != cursorSizeAll)
if (cursorStyle != cursorSizeNone && cursorStyle != cursorSizeAll && event.target == this)
JabbyPandaUA, you are my hero, and other than the horror that is the bette midler song that just came to mind because of you, you have been perfectly kind and helpful. Send me your paypal info and I will get your $ to you.
You can send me a money gift to the following PayPal account firstname.lastname@example.org.
Helping you was my pleasure, and I also learned about existence of useful Adobe's authored classes SizeableTittleWindow and WindowManager.
ps Your current profile settings at this forum does not allow you to receive private messages.