Project

General

Profile

Actions

Improvements #14330

open

Improve initial layout and position of WDialog

Added by Michael Seibt 2 days ago.

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

0%

Estimated time:

Description

Affected: WT 4.12.2 and former versions (checked down to 4.11.4)

STR:

--> result:

  1. WDialog is not restricted to the height of the viewport.
  2. There are no scrollbars in order to access the whole dialog.
  3. The dialog does not use the available width in order to display more of the WTableView.

STR:

  • press Escape
  • click button "Popup"

--> result:

  1. The dialog pops up at a different position (centered).
  2. The title bar is inaccessible.

STR:

  • reload the browser tab

--> The dialog is positioned as on first show.

Improvements:
a. limit WDialog to viewport
b. use available width (and height)
c. popup the dialog at the same position

The workaround by setting min/max size of widgets is inflexible and too restrictive.


Files

main.cpp (11.7 KB) main.cpp Michael Seibt, 02/12/2026 01:12 PM

No data to display

Actions

Also available in: Atom PDF