Dear community,
I getting on fight with my .res file and I still don't get the result I want.
I would like to use 2 columns formatting and get the elements spreads on those columns, but for an unknown reason, the space filled by the columns are not as wide as the dialog itself.
I really tried many options on the GROUP mGRPAXIS
, with SCALE_H;
on REALSLIDER
elements or on the subgroups without success. Is that a limitation of the .RES / SDK in Python or is there a trick?
In the meantime, all the elements of GROUP mGRPSCENE
are properly formatted.
Here the code of the .res file and the result I'm getting as a screenshoot. It's a work in progress dialog, but I would really like to understand if there is a way to get this or not? Can the sliders columns be as wide as the dialog?
CONTAINER TmotionLab {
NAME TmotionLab;
GROUP {
SEPARATOR { }
STATICTEXT mPLUGIN_DEF { }
SEPARATOR { }
GROUP mGRPSCENE {
DEFAULT 1;
GROUP {
STRING mPROJECT { ANIM OFF; SCALE_H; }
}
GROUP {
COLUMNS 2;
STRING mSCENE { ANIM OFF; SCALE_H; }
LONG mTAKE { MIN 1; MAX 200; STEP 1; ANIM OFF; }
}
}
GROUP mGRPAXIS {
DEFAULT 1;
SEPARATOR mSEP_GRP_A { NAME mAXIS_EN; LINE; SCALE_H; FIT_H; }
GROUP {
COLUMNS 2;
LAYOUTGROUP;
GROUP {
STATICTEXT mENPOS { SCALE_H; }
BOOL mEN_TX { ANIM OFF; SCALE_H; }
BOOL mEN_TY { ANIM OFF; SCALE_H; }
BOOL mEN_TZ { ANIM OFF; SCALE_H; }
}
GROUP {
STATICTEXT mENROT { SCALE_H; }
BOOL mEN_RX { ANIM OFF; SCALE_H; }
BOOL mEN_RY { ANIM OFF; SCALE_H; }
BOOL mEN_RZ { ANIM OFF; SCALE_H; }
}
}
SEPARATOR mSEP_GRP_B { NAME mAXIS_MOTION; LINE; SCALE_H; FIT_H; }
GROUP {
COLUMNS 2;
LAYOUTGROUP;
GROUP {
STATICTEXT mTRANSLATION { SCALE_H; }
REAL mTX { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; SCALE_H; }
REAL mTY { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; SCALE_H; }
REAL mTZ { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; SCALE_H; }
}
GROUP {
STATICTEXT mROTATION { SCALE_H; }
REAL mRX { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
REAL mRY { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
REAL mRZ { MIN -100.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
}
}
SEPARATOR { LINE; SCALE_H; }
BUTTON mREMOVE_MOTION { ANIM OFF; }
}
}
}
Thanks a lot,
Christophe