Round button

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #37446
    Stephane Senecal
    Participant

    Nice start for the round button, but with a border width of an even value (ex: 2, 4, 6), the right and bottom side of the button are cropped by one pixel.

    And as a suggestion, I believe it would be better with a gradient editor instead of Color1 and Color2.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56546
    Support
    Keymaster

    This control will be improved in the next versions.

    #56579
    Stephane Senecal
    Participant

    Funny, now it's the top and left sides that are cropped. (v12.07)

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56592
    Support
    Keymaster

    Can you show a screenshot, please?

    #56599
    Stephane Senecal
    Participant

    Hope is clear enough.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56601
    Support
    Keymaster

    Thank you

    Please, look my test app, maybe I really not understand something…

    Top and left position of button is not changed there.

    #56603
    Stephane Senecal
    Participant

    I see in your demo that your button has a border of only 1 pixel.

    As stated at the begining of this thread, the problem only appears for border width of even numbers like 2, 4, 6 and so on.

    In my screenshot, which was taken from your program ASkinDemo, the border width is set at 2 pixels.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56604
    Support
    Keymaster

    Sorry, you can recompile with other parameters.

    Behaviour was same on my PC..

    #56638
    Stephane Senecal
    Participant

    Sorry for the delay, I was busy.

    Your sample project exibit the same problem I was talking about.

    It is not so obvious, but in the attachment we can see, highlighted in green, the corresponding lines from top and right lines (this is good).

    But the line, hightlighted in red, is missing from the top (and left) of the button.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56668
    Support
    Keymaster

    You are right, I see it. I will try to improve this drawing soon.

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