Skip to content

Picture Box permanent refreshes #1314

Closed

Description

@itg-assistant

Harald Bacik asked 2018-01-16 10:00:45 UTC

Hey

I have created a quick demo, where you can see, that in Design mode the picture box always refreshes, when SizeMode = AutoSize.

Nothing can be done anymore. - You can't rename the picturebox or anything else.

I think this is a bug.

THX

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2018-01-16 13:58:40 UTC

    Thanks Harald.

    I have logged issue WJ-8652 for it. We´ll inform you when a fix is available.

    Best regards
    Frank

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2018-01-16 22:54:58 UTC

    The pictureBox in the sample is set to Dock.Fill and to PictureBoxSizeMode.AutoSize. AutoSize means that the control will change its size to fit the image. Dock.Fill means that the control will resize to fill the parent. The two settings obviously clash and cause the repeated resizing.

    You can set SizeMode to anything other than AutoSize. The fix will simply ignore the AutoSize value when docked or anchored.

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2018-01-26 13:26:43 UTC

    Hi Harald,

    the fix for WJ-8652 is included in Wisej dev build 1.4.59.

    Best regards
    Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions