summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/Fl_Window_Type.cxx5
-rw-r--r--fluid/documentation/src/page_widget_panel.dox5
2 files changed, 9 insertions, 1 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index 821f59cde..4b4944d8e 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -1535,6 +1535,9 @@ void Fl_Window_Type::leave_live_mode() {
copy all properties from the edit widget to the live widget
*/
void Fl_Window_Type::copy_properties() {
+ Fl_Window *self = static_cast<Fl_Window*>(o);
+ Fl_Window *live = static_cast<Fl_Window*>(live_widget);
+ if (self->resizable() == self)
+ live->resizable(live);
Fl_Widget_Type::copy_properties();
- /// \todo copy resizing constraints over
}
diff --git a/fluid/documentation/src/page_widget_panel.dox b/fluid/documentation/src/page_widget_panel.dox
index eac9d7c63..7a1261d62 100644
--- a/fluid/documentation/src/page_widget_panel.dox
+++ b/fluid/documentation/src/page_widget_panel.dox
@@ -212,6 +212,11 @@
using hierarchies of groups. Resizing of a window or group can be tested
using the *live resize* button.
+ Note that the *Resizable* indicator is ambiguous when a window is selected.
+ Making a window resizable will resize all children proportionally. Setting
+ a child of a window will make that child the center of the resize operation.
+ In both cases, the *Resizable* indicator of the window will be set.
+
The *Hotspot* button causes the parent window to be
positioned with that widget centered on the mouse. This
position is determined when the FLUID function is called,