- This topic has 10 replies, 2 voices, and was last updated 7 years, 3 months ago by HeDiBo.
-
AuthorPosts
-
July 10, 2017 at 10:02 am #37536HeDiBoParticipant
The TsSpinEdit that I use in my project looks wrong for the Jeans skin.
This is what happens: the window shows and I click the Up Arrow. Now the text becomes unreadable. Every next time this spinedit shows, it looks OK.
This is what it looks like the first time:
[attachment=8377:SpinEditJeans.jpg]
This is how it looks in the Notes Leather skin:
[attachment=8378:SpinEditLeather.jpg]
When I switch away to another application and go back, everything is OK again.
July 10, 2017 at 11:12 am #56882HeDiBoParticipant'HeDiBo' wrote:The TsSpinEdit that I use in my project looks wrong for the Jeans skin.
This is what happens: the window shows and I click the Up Arrow. Now the text becomes unreadable. Every next time this spinedit shows, it looks OK.
This is what it looks like the first time:
[attachment=8377:SpinEditJeans.jpg]
This is how it looks in the Notes Leather skin:
[attachment=8378:SpinEditLeather.jpg]
When I switch away to another application and go back, everything is OK again.
I now found out it is wrong in other skins too.
I tried to build a test project, but cannot get it wrong then .
July 11, 2017 at 4:19 pm #56884SupportKeymasterHello
Do you handle any events in this control?
July 12, 2017 at 9:26 am #56889HeDiBoParticipant'Support' wrote:Hello
Do you handle any events in this control?
Yes: OnDownClick, OnUpClick and OnExit
July 13, 2017 at 11:36 am #56896SupportKeymasterCan you check if some event have influence to this behavior and which code can help to repeat it?
July 13, 2017 at 12:29 pm #56899HeDiBoParticipant'Support' wrote:Can you check if some event have influence to this behavior and which code can help to repeat it?
That's difficult. It only occurs the first time the window is shown, not after that.
I'll have a look further into this. I know for example, that the SpinEdit value is changed programmatically also. Maybe there's a cause for this behavior.
July 13, 2017 at 3:26 pm #56904HeDiBoParticipant'HeDiBo' wrote:That's difficult. It only occurs the first time the window is shown, not after that.
I'll have a look further into this. I know for example, that the SpinEdit value is changed programmatically also. Maybe there's a cause for this behavior.
I found it has nothing to do with clicking up or down.
This is how the spinedit looks when changing other settings has enabled it and given it Value 1:
[attachment=8379:spineditbug01.jpg]
Then I click the mouse on the value 1, without touching the up or down arrows. Just placing the cursor in the value field:
[attachment=8381:spineditbug02.jpg]
And as you can see, it is already distorted
July 21, 2017 at 12:41 pm #56933HeDiBoParticipantProblem is still there in 12.13
July 27, 2017 at 6:19 pm #56946SupportKeymasterI can repeat it now and I hope to fix it in the v12.14
August 2, 2017 at 7:00 am #56961SupportKeymasterI have researched this issue and see that big changes required for changing of this behavior.
Control should be rewritten and I'm planning to do it in the next Beta version (12.20).
As a quick solution, I think you should make a bigger width of control, maybe for 3-4 pixels will be enough.
August 2, 2017 at 5:45 pm #56971HeDiBoParticipant'Support' wrote:I have researched this issue and see that big changes required for changing of this behavior.
Control should be rewritten and I'm planning to do it in the next Beta version (12.20).
As a quick solution, I think you should make a bigger width of control, maybe for 3-4 pixels will be enough.
With a width of 50 it worked OK.
You already said that's a bug, so I will test it again in 12.20
Thanks for the quick fix.
-
AuthorPosts
- You must be logged in to reply to this topic.