This beta should fix the display bugs reported by UrbanMonk but also re-introduces another display bug: When you resize the Surface (via action), it won't be redrawn correctly (It will be drawn with the old size, which might mean that a part is cut off). Redrawing again fixes this issue.
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Just curious, shouldn`t you better remove the bugs instead adding them?
-
you could just make the redrawing automatic eh?
-
Thanks for the update, this fixes all of my problems for now.
I'll keep using it and see if anything more bad things happen.
-
I actually think it's a bug in MMF. I'm passing the memory address of the surface to MMF and for some reason it does not re-read the size properly and sticks with the old one.
-
I`m a bit confused about the text alignment feature. With horizontal text align 0 my text gets created at the given values.
With horizontal text align 1 the text gets slightly offset to the left. But i cannot figure out the amount. And to me it looks odd. It is nowhere aligned, it places somewhere in the space.
And with horizontal text align 2 my text simply doesn`t appear at the surface.
See attached file. Spacebar, 1 and 2 are the keys in use ...
-
Ah, one more thing, i find it very uncomfortable to click through 5 or 6 dialogues. Couldn`t you just use a single expression instead a dialogue for every single value you want to ask? In the text case something like: ( >X1<,>Y1<,>X2<,>Y2<, "text")? Or does this make too much trouble?
-
Yes I agree with Tiles on that.
Those expressions can get frustrating.
The "apply matrix" bit is even worse.
(XXX,XXX,XXX) Something like that, but a dialogue for every X.
-
Putting more expressions in one dialogue would be very hard to do, sorry.
About your MFA: You need to specify X2 and Y2.
e.g. 100,100,200,200 with horizontal align 1 would draw it in the middle of 100,100,200,200.
-
Ah, that`s how it is meant. Thanks
-
It doesn't bother me THAT much anyway.
Thanks Looki
-
Hmm, result still looks a bit odd to me. I am not sure which X value is the width of the text rectangle, and which X value is the position of the rectangle.
And it`s a pain to change the values because of those lots of dialogues
-
X1 is the first X coordinate... X2 the second. It's like the String object - you define the bounding box of the string and it is rendered within that.
-
Thanks Looki, just wanted to be sure. Then i finally call it a bug, hehe
First two values defines the XY of the rectangle, second two values defines the size of the rectangle. So in all alignment cases the text should start or end in the rectangle, right?
As you can see in the attached screenshot, this just happens with case one
Mh, one more thought, for the second coords set you get a message called "Leave zero if no clipping is checked". This was a bit confusing to me. I first searched for a setting called no clipping. But it`s an action. Wouldn`t fit "Leave zero if no clipping action is defined" better? But my english is not the best. Maybe somebody comes up with something better
-
If clipping is activated, the text will indeed be forced into the specified boundaries. You can also check "Break words" for word wrapping, so the text will not be cut off.
There are two ways to change the text clipping:Please login to see this picture.
Please login to see this picture.
-
Ah, thanks Looki, so there is indeed a clipping setting. And it is even activated by default. Haven`t thought to search in the text settings.
Hmm, when i turn off No text clipping in the settings as shown in the second picture the text completely vanishes. And activating no text clipping by the action as shown in your first picture does the same: no text arrives in my rectangle.
The only way to display my text at the surface at all seems to be to keep the No Text Clipping activated in the settings, PLUS define a rectangle in the draw text event. With the described odd results
Besides that, just curious, why three times the same settings? Wouldn`t be one enough?
-
Three times the same setting? Not sure what you mean.
The text vanishes because your rectangle's X2 and Y2 are lower than X1 and Y1. They have to be higher. e.g.
300,200,400,300 -
At the latest now i scratch my head. I have the strange feeling that we talk about different things here. Sorry when i seem to be stupid at the moment. I am
When the second set defines the SIZE of the rectangle, why has it to be bigger than the POSITION? Or do i mix things completely now?
I am lost how the whole text stuff is meant to work. Best would be a working example. May i ask for one? Does your time allow to create one? You would need it for your docs anyways
QuoteThree times the same setting? Not sure what you mean.
Ah, my mistake. Two times i meant. The set clipping. It is one time in the settings, and one time as an action. I mixed it with the draw text action. But that is not case three, but the case where i need the clipping to be on or off
-
X1 and X2 define the X positions of the rectangle... not the left position and size.
I'll make an example, give me a couple of hours though.Well, if you want to change the clipping at runtime... that's what the action is for!
-
Oh, wait, i think i get my mistake. X2 and Y2 is not the widht and the height of the rectangle, but the second coordinate to finish a rectangle shape, right? Phew, that was what was irritating me
Hmm, i have the feeling that the rectangle size, means define width and height, approach would be the more comfortable one compared to the coordinate approach. But that`s your decision. And i guess it would make more work, right?
So sorry for the confusion. And thanks for your patience
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!