Fix order of properties to avoid inversion of layout & layout_options. 95/13895/2
Vincent COUVERT [Tue, 4 Mar 2014 13:53:54 +0000 (14:53 +0100)]
To test: test_run("gui", ["tab_layer.tag" "frameWithAxes"])

Change-Id: I01cd6dffe06a78adecc78f1689255080e63bd4ed

scilab/modules/gui/sci_gateway/c/sci_uicontrol.c

index 8d999e2..17cf4c9 100644 (file)
@@ -40,7 +40,6 @@
 #include "strdup_windows.h"
 #endif
 
-/* DO NOT CHANGE ORDER !! */
 static const char* propertiesNames[] =
 {
     "style",
@@ -72,8 +71,8 @@ static const char* propertiesNames[] =
     "enable",
     "callback_type",
     "tooltipstring",
-    "layout_options",
     "layout",
+    "layout_options",
     "margins",
     "borders",
     "groupname",