I've been struggling for a few hours trying to figure out how to make a
org.apache.pivot.wtk.Dialog   resizable.   (Using a copy of the 1.5 trunk
refreshed earlier today)

Using   org.apache.pivot.tutorials.windows.Windows   as a base, I modified
'dialog.wtkx'   to include    styles="{resizable:true}"   in the Dialog
element.

This doesn't have any effect unless the   preferredWidth   and/or
 preferredHeight  properties are also set.
The code in   org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseMove()
suggests this is deliberate.

Am I missing something here as to why the preferred width & height are
relevant, or should this be classified as a bug?
IMHO settiing the   resizable   style should allow the Frame/Dialog to be
resized (unless it is maximized).

Regards,

Chris

Reply via email to