Extend layout items. How [CLOSED]
-
On 12/12/2014 at 14:57, xxxxxxxx wrote:
Hi,
it would be easier, if you showed us the lines around line 9...
Basically for groups it looks like this:GROUP { FIT_H; SCALE_H; ... }
-
On 12/12/2014 at 15:46, xxxxxxxx wrote:
Yup, that is what I did.
It returned that error
Is it only valid for dialogs? Not for containers? -
On 12/12/2014 at 15:51, xxxxxxxx wrote:
Please try it without using the LAYOUTGROUP flag.
-
On 12/12/2014 at 16:01, xxxxxxxx wrote:
I still get the same error, even without the LAYOUTGROUP flag.
The error occurs in the line where I place the FIT_H; or the SCALE_H;
right after the start of the GROUP, like this:GROUP
{
FIT_H; // This line results in an errorLONG MY_VALUE { FIT_H; MIN 1; MAX 10;}
} -
On 12/12/2014 at 17:04, xxxxxxxx wrote:
I can´t reproduce this error, sorry!
But as a solution for your problem, just make a two columns group(no Layoutgroup which seems to fix your scaling) and fill the left sided items with empty statictexts.
like:GROUP { COLUMNS 2; BITMAPBUTTON AM_PROFILE_PREVIEW { FIT_H; BORDER; ICONID1 1034215; } REAL AM_TRUNK_VAR { FIT_H;SCALE_H; MIN 0.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; } STATICTEXT DUMMY1 { } REAL AM_TRUNK_SEED { FIT_H;SCALE_H; MIN 0.0; MAX 100.0; UNIT PERCENT; CUSTOMGUI REALSLIDER; } } Best wishes Martin [CODE]
-
On 12/12/2014 at 17:40, xxxxxxxx wrote:
Didn't work
I mean, the error is gone, but I need all the numerical fields at the side of the BITMAPBUTTON (that is 100x100 pixels).
Using that method, I will get one numerical field at the right of the BITMAPBUTTON but then all other numerical fiels will be at the right of the BITMAPBUTTON but also, below it. -
On 12/12/2014 at 18:28, xxxxxxxx wrote:
Hi Rui,
Try using SCALE_H; on your sliders instead of FIT_H;
This should extend your slider gizmos to the edge of the master C4D window. And it will scale them on the left so they always stay next to your bitmap button gizmo if you change the size of the AM window(the AM border that's next to the materials manager & scene window).-ScottA
-
On 12/12/2014 at 18:48, xxxxxxxx wrote:
Hello Scott,
as I mentioned the LAYOUTGROUP flag don´t let you scale the gizmos anymore.
SCALE_H won´t work either.
My other suggestion only works with checkboxes and stuff that has a "normal" size, not 100 pixels high.
I give up on that, sorry guys. Good night
Martin -
On 13/12/2014 at 04:20, xxxxxxxx wrote:
Well, I will have to give up on this too. There seems to be no way to do what I would like to do
Thank you all. -
On 13/12/2014 at 05:23, xxxxxxxx wrote:
Hi Rui,
at first I want to apologize. It was late yesterday, and I didn't watch the details closely enough. Sorry.
You are right, my suggestion with SCALE_H; FIT_H; works for dialogs, only (and not for descriptions). My first mistake.
And then I did not pay enough attention to your desired layout. My second mistake.Now, I have set up a test case here and can acknowledge, it does not work straight forward (which you already know). Although I have no solution yet, I'll try to find one. I'll come back to you as soon as I have any news. This probably won't happen before Monday, though.
Sorry for the inconvenience.
-
On 13/12/2014 at 05:52, xxxxxxxx wrote:
You are welcome, Andreas.
And thank you in advance.
It is mainly a aesthetic issue but, since I'm a designer that likes to code (and not a coder that likes design), layouts are a big issue to me -
On 15/12/2014 at 10:02, xxxxxxxx wrote:
Rui,
I have to admit, I found no way to pull this off.
In a dialog this is possible, but in a description resource it currently seems impossible. If I stumble over a solution, I'll get back to you, promised. But for now, I'm afraid you have to fall back to a simpler layout.
Sorry -
On 15/12/2014 at 10:34, xxxxxxxx wrote:
Thank you for checking this out, Andreas.
I hope this gets a fix, soon.Rui Batista
-
On 08/01/2015 at 13:16, xxxxxxxx wrote:
You might want to investigate the resource file for the Motion Camera tag as on the Motion tab is seems to have sliders like you want.
-
On 09/01/2015 at 02:39, xxxxxxxx wrote:
Thank you for your suggestion, Donovan. However, it is not what I want
I can easily span gizmos along the whole width of the Attribute Manager.
But what I want is to have them beside a User Area and still span. And that seems to be impossible