Actions
Bug #14686
closedIncorrect width calculation for WTextEdit
Start date:
07/21/2026
Due date:
% Done:
0%
Estimated time:
Description
In a horizontal layout with Wt::LayoutImplementation::JavaScript enabled, WTextEdit is partially obscured by the next widget.
Application::Application(const Wt::WEnvironment& env) : Wt::WApplication(env)
{
auto l1 = std::make_unique<Wt::WHBoxLayout>();
l1->setPreferredImplementation(Wt::LayoutImplementation::JavaScript);
auto b1 = l1->addWidget(std::make_unique<Wt::WPushButton>());
b1->setText("Left buttton");
auto e1 = l1->addWidget(std::make_unique<Wt::WTextEdit>());
auto b2 = l1->addWidget(std::make_unique<Wt::WPushButton>(), 1);
b2->setText("Right button");
root()->setLayout(std::move(l1));
}
Updated by Romain Mardulyn 21 days ago
- Related to Bug #14685: Regression in WVBoxLayout added
Updated by Romain Mardulyn 12 days ago
- Status changed from Review to Implemented @Emweb
Updated by Romain Mardulyn 6 days ago
- Status changed from Implemented @Emweb to Closed
- Assignee changed from emil de keyser to Romain Mardulyn
Actions