Bug Report T300543
Visible to All Users

PictureEdit - Scrollbar alignment is incorrect after resizing

created 9 years ago

Hello,

since version 15.1.7.0 there seems to be a problem with the pictureedit scrollbars.

If you have a form with a pictureedit (dock=fill) and properties showscrollbars=true, the don't align to the control borders on resizing the form (=control).

I've attached a screenshot an marked the problem in red :-)

Is there a solution to solve the problem?

Thanks!
Dirk Kaiser

Comments (3)
Sasha (DevExpress Support) 9 years ago

    Hello Dirk,
    Thanks for the provided screenshot. I was able to reproduce the issue on my side and passed it to our developers for further research. We will update this thread once we have any results.
    As a workaround, handle PictureEdit's Resize event and call the UpdateScrollBars method:

    C#
    private void pictureEdit1_Resize(object sender, EventArgs e) { this.pictureEdit1.UpdateScrollBars(); }
    Visual Basic
    Private Sub pictureEdit1_Resize(ByVal sender As Object, ByVal e As EventArgs) Handles pictureEdit1.Resize Me.pictureEdit1.UpdateScrollBars() End Sub

    Attached is a small sample that illustrates this approach.

    DK DK
    Dirk Kaiser (M.O.P) 9 years ago

      This hotfix works.
      Thank you!
      I'm looking forward for the next official update :-)
      Dirk Kaiser

      Sasha (DevExpress Support) 9 years ago

        Hello Dirk,
        I am happy to hear that the suggested workaround works for you. Please watch for our updates.

        Answers approved by DevExpress Support

        created 9 years ago (modified 9 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.