Project

General

Profile

Bug #4791

Wt::WDialog::setMaximumSize() is ineffective

Added by Saif Rehman over 5 years ago. Updated over 5 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?

#1

Updated by Koen Deforche over 5 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.

#2

Updated by Koen Deforche over 5 years ago

  • Status changed from InProgress to Implemented @Emweb
#3

Updated by Koen Deforche over 5 years ago

  • Status changed from Implemented @Emweb to Closed

Also available in: Atom PDF