Project

General

Profile

Actions

Bug #12951

open

Layout fails expanding a WPanel with animation

Added by John Stark about 1 month ago. Updated 1 day ago.

Status:
Review
Priority:
Normal
Target version:
Start date:
08/17/2024
Due date:
% Done:

0%

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 22 days ago

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

Updated by Romain Mardulyn 21 days ago

  • Status changed from New to InProgress
Actions #3

Updated by Romain Mardulyn 20 days ago

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

Updated by Matthias Van Ceulebroeck 1 day ago

  • Assignee set to Matthias Van Ceulebroeck
Actions

Also available in: Atom PDF