On 06/01/2015 at 03:30, xxxxxxxx wrote:
In a description resource file you can use layout group to create your button row.
As far as I know, you don't have means to align a button to the right.
But what you could do is to have a layout group with static text as empty placeholders.
Like so:
GROUP
{
LAYOUTGROUP; COLUMNS 3;
GROUP { BITMAPBUTTON YOUR_BUTTON_ID_1 { FIT_H; BUTTON; ICONID1 300000255; } }
GROUP { STATICTEXT { } }
GROUP { BITMAPBUTTON YOUR_BUTTON_ID_2 { FIT_H; BUTTON; ICONID1 300000255; } }
}
While you may use the above as a workaround, I'm not sure, this is recommendable. The GUI layout may get unnaturally wide, user may dislike this. Instead I recommend to rethink the layout and if this is really needed.
Maybe this is a good general advice for GUI design: Rather stick to simple designs and try to do it in a way, it's already done somewhere else in Cinema. Your plugin will integrate more harmoniously and won't stick out like an alien.