Project

General

Profile

Actions

Bug #12951

open

Layout fails expanding a WPanel with animation

Added by John Stark 3 months ago. Updated 10 days ago.

Status:
Implemented @Emweb
Priority:
Normal
Target version:
Start date:
08/17/2024
Due date:
% Done:

100%

Estimated time:

Description

When an animation is used with a collapsible WPanel, and the central widget has a layout, the items overlap when the panel is expanded.

Resizing the browser window seems to force the content to be correctly aligned.

A simple example is attached. When the panel is initially expanded the text labels all overlap. Resizing the browser window improves the layout.

The bug goes away if the animation is changed to Fade instead of SlideInFromTop or if the animation is removed entirely. It also doesn't seem to impact contents without a layout.

Tested with Wt v4.10.4 & Chrome.


Files

main.cpp (1.47 KB) main.cpp WPanel animated layout sample John Stark, 08/17/2024 08:06 PM
Actions #1

Updated by Matthias Van Ceulebroeck 3 months ago

  • Assignee set to Romain Mardulyn
  • Target version set to 4.11.2
Actions #2

Updated by Romain Mardulyn 3 months ago

  • Status changed from New to InProgress
Actions #3

Updated by Romain Mardulyn 3 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #4

Updated by Matthias Van Ceulebroeck 2 months ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #5

Updated by Matthias Van Ceulebroeck 10 days ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF