Project

General

Profile

Actions

Bug #14873

open
AR

Wrong WPushButton size when using left margins on horizontally aligned buttons

Bug #14873: Wrong WPushButton size when using left margins on horizontally aligned buttons

Added by Achim Reutelsterz about 1 month ago. Updated 25 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/08/2026
Due date:
% Done:

0%

Estimated time:

Description

I have a specific problem with several buttons that are arranged horizontally inside a container.
The container itself is aligned to the right side of the window. Some of the buttons have a left margin applied.
The size of the last buttons is calculated incorrectly. As a result, the buttons are rendered with the wrong width.
The problem did not occur in earlier WT versions and started after upgrading to WT 4.12.2.


Files

main.cpp (1.82 KB) main.cpp Achim Reutelsterz, 10/08/2026 05:04 PM
buttonLayout.png (1.96 KB) buttonLayout.png Achim Reutelsterz, 10/08/2026 05:04 PM

RM Updated by Romain Mardulyn 25 days ago Actions #1

  • Target version set to 4.16.0
Actions

Also available in: PDF Atom