TsSpinEdit looks wrong in Jeans skin

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #37536
    HeDiBo
    Participant

    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.

    #56882
    HeDiBo
    Participant
    '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 blink.gif.

    #56884
    Support
    Keymaster

    Hello

    Do you handle any events in this control?

    #56889
    HeDiBo
    Participant
    'Support' wrote:

    Hello

    Do you handle any events in this control?

    Yes: OnDownClick, OnUpClick and OnExit

    #56896
    Support
    Keymaster

    Can you check if some event have influence to this behavior and which code can help to repeat it?

    #56899
    HeDiBo
    Participant
    '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.

    #56904
    HeDiBo
    Participant
    '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 wacko.gif

    #56933
    HeDiBo
    Participant

    Problem is still there in 12.13

    #56946
    Support
    Keymaster

    I can repeat it now and I hope to fix it in the v12.14

    #56961
    Support
    Keymaster

    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.

    #56971
    HeDiBo
    Participant
    '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.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.