Project

General

Profile

Actions

Bug #2259

closed

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

Added by Momo LALMI over 10 years ago. Updated about 10 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)

Actions #1

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

Actions #2

Updated by Momo LALMI over 10 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

Actions #3

Updated by Koen Deforche over 10 years ago

  • Target version changed from 3.3.1 to 3.3.2
Actions #4

Updated by Koen Deforche about 10 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

Actions #5

Updated by Momo LALMI about 10 years ago

Hi Koen,

I will test this soon and keep you in touch,

thank you for the modifications;

BR

Actions #6

Updated by Koen Deforche about 10 years ago

  • Status changed from Feedback to Resolved
Actions #7

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF