setPreferenceProperty( lPrec, "max", 100 );
int frame = addPreference( "", sbarTab, LightApp_Preferences::Frame, "", "" );
- setPreferenceProperty( frame, "orientation", "horizontal" );
+ //setPreferenceProperty( frame, "orientation", "vertical" );
+ setPreferenceProperty( frame, "columns", "2" );
// group: "Orientation"
int orientGr = addPreference( tr( "VISU_ORIENTATION" ), frame, LightApp_Preferences::GroupBox );
// group: "Origin & Size Vertical"
- int psSzFrame = addPreference( "", sbarTab, LightApp_Preferences::Frame, "", "" );
- setPreferenceProperty( psSzFrame, "orientation", "horizontal" );
+ //int psSzFrame = addPreference( "", sbarTab, LightApp_Preferences::Frame, "", "" );
+ //setPreferenceProperty( psSzFrame, "orientation", "horizontal" );
+ //setPreferenceProperty( psSzFrame, "columns", "2" );
int posVSizeGr = addPreference( tr( "VISU_ORIGIN_AND_SIZE" ) + " " + tr( "VISU_VERTICAL" ),
- psSzFrame, LightApp_Preferences::GroupBox );
+ frame, LightApp_Preferences::GroupBox );
setPreferenceProperty( posVSizeGr, "columns", 2 );
int xv = addPreference( tr( "VISU_X" ), posVSizeGr,
LightApp_Preferences::DblSpin, "VISU", "scalar_bar_vertical_x" );
// group: "Origin & Size Horizontal"
int posHSizeGr = addPreference( tr( "VISU_ORIGIN_AND_SIZE" ) + " " + tr( "VISU_HORIZONTAL" ),
- psSzFrame, LightApp_Preferences::GroupBox );
+ frame, LightApp_Preferences::GroupBox );
setPreferenceProperty( posHSizeGr, "columns", 2 );
int xh = addPreference( tr( "VISU_X" ), posHSizeGr,