Project

General

Profile

Actions

Bug #4791

closed

Wt::WDialog::setMaximumSize() is ineffective

Added by Saif Rehman over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/04/2016
Due date:
% Done:

0%

Estimated time:

Description

Hey,

I'm trying to use dialog->setMaximumSize(Wt::WLength(95, Wt::WLength::Percentage), Wt::WLength(95, Wt::WLength::Percentage)); to prevent the dialog from getting hidden from the screen, however, it has no effect. It overflows from the screen from both axes, unless resize has been used.

Can this be fixed?

Actions #1

Updated by Koen Deforche over 8 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.3.6

A percentage-based maxmimum size is indeed not correctly honoured, although I agree it could and should.

Actions #2

Updated by Koen Deforche over 8 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #3

Updated by Koen Deforche over 8 years ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF