Changeset 2958

Show
Ignore:
Timestamp:
03/23/07 13:27:06 (2 years ago)
Author:
paul
Message:

dDialog was set by us to have resizable borders by default, but this conflicts
with the AutoSize? property, which also defaults to True. I elected to make
dDialog default to not have resizable borders, which is more in line with
the look and feel of a dialog anyway. If you really do want the user to be
able to resize it, just set dlg.ResizableBorders? = True.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dDialog.py

    r2957 r2958  
    2323        self._fit = True 
    2424 
    25         defaultStyle = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
     25        defaultStyle = wx.DEFAULT_DIALOG_STYLE 
    2626        try: 
    2727            kwargs["style"] = kwargs["style"] | defaultStyle 
  • trunk/dabo/ui/uiwx/dFormMixin.py

    r2957 r2958  
    911911 
    912912    BorderResizable = property(_getBorderResizable, _setBorderResizable, None, 
    913             _("Specifies whether the user can resize this form.  (bool).")) 
     913            _("""Specifies whether the user can resize this form.  (bool). 
     914 
     915            The default is True for dForm and False for dDialog.""")) 
    914916 
    915917    Centered = property(_getCentered, _setCentered, None,