Project

General

Profile

Actions

Bug #14685

closed
AF RM

Regression in WVBoxLayout

Bug #14685: Regression in WVBoxLayout

Added by Andreas Frolov 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/21/2026
Due date:
% Done:

0%

Estimated time:

Description

WTextEdit in vertical layout is always placed at the top when Wt::LayoutImplementation::JavaScript is enabled. This has been the case since version 4.14.0. Here is a small example:

Application::Application(const Wt::WEnvironment& env) : Wt::WApplication(env)
{
  auto l1 = std::make_unique<Wt::WVBoxLayout>();
  l1->setPreferredImplementation(Wt::LayoutImplementation::JavaScript);

  auto b1 = l1->addWidget(std::make_unique<Wt::WPushButton>());
  b1->setText("Top buttton");

  auto e1 = l1->addWidget(std::make_unique<Wt::WTextEdit>());

  auto b2 = l1->addWidget(std::make_unique<Wt::WPushButton>());
  b2->setText("Bottom button");
	
  root()->setLayout(std::move(l1));
}

Related issues 1 (0 open — 1 closed)

Related to Bug #14686: Incorrect width calculation for WTextEditClosedRomain Mardulyn07/21/2026

Actions

RM Updated by Romain Mardulyn 4 months ago Actions #1

  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn 4 months ago Actions #2

  • Status changed from New to InProgress
  • Target version set to 4.14.1

RM Updated by Romain Mardulyn 4 months ago Actions #3

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

RM Updated by Romain Mardulyn 4 months ago Actions #4

  • Related to Bug #14686: Incorrect width calculation for WTextEdit added

ED Updated by emil de keyser 4 months ago Actions #5

  • Assignee set to emil de keyser

ED Updated by emil de keyser 4 months ago Actions #6

  • Status changed from Review to Resolved
  • Assignee changed from emil de keyser to Romain Mardulyn

RM Updated by Romain Mardulyn 4 months ago Actions #7

  • Status changed from Resolved to Implemented @Emweb

RM Updated by Romain Mardulyn 3 months ago Actions #8

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom