Project

General

Profile

Bug #2259

3.3.1. WPaintedWidget: wrong height when setLayoutSizeAware(true) is used

Added by Momo LALMI over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/29/2013
Due date:
% Done:

0%

Estimated time:

Description

"width: 807px;" should be removed in this case... if not removed, the height is undefined or 0 (and not 80 as expected)

#1

Updated by Koen Deforche over 8 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche
  • Target version set to 3.3.1

Hey,

I've got a fix ready --- but I would first like to be able to reproduce it to understand better the circumstances. A WPaintedWidget is by default layout-size-aware so it's surprising that it doesn't misbehave in for example the treeview-dragdrop example?

Regards,

koen

#2

Updated by Momo LALMI over 8 years ago

Hi Koen,

Do you mean that there is no need to call setLayoutSizeAware(true) when using a class derived from WPaintedWidget ?

I think the fastest way to see this behaviour in action is to connect remotely to my wt application, you can also see the corresponding source code...

Best regards,

M. LALMI

#3

Updated by Koen Deforche over 8 years ago

  • Target version changed from 3.3.1 to 3.3.2
#4

Updated by Koen Deforche over 8 years ago

Hey,

Can you see if the current 3.3.2-rc1 still misbehaves, and if so, I would be happy to accept the offer to see the misbehaviour on your application.

Regards,

koen

#5

Updated by Momo LALMI over 8 years ago

Hi Koen,

I will test this soon and keep you in touch,

thank you for the modifications;

BR

#6

Updated by Koen Deforche over 8 years ago

  • Status changed from Feedback to Resolved
#7

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF