Mike you need to calculate this way
DT_post_count = 5427. -- DenisT posts till this day
DT_life_saved_by_post = 8 -- sorry if I used lower number
DT_memory_leak = random 1 1000 -- no comment
format "total code = % ; memory = %
" (DT_post_count/DT_life_saved_by_post) DT_memory_leak
I mean just that cgsociety is not giving the possibility to post ready scripts like scriptspot does, I mean to open a member and to see all his ready script, But I know and I see that Mr Denis is better then any programmer from Autodesk! And I appreciate like all you do his big efforts!
What if we come back to the topic of the thread : better and more usable UI ?
We all know the great benefits denisT brought and still bring to this forum. CGforum servers could save half of their storage capacity if we deleted the thanks messages addressed to Denis.
So, DenisT? we are waiting the next exercise, now ;).
You have to be patient. This is the calm before the storm
Denis prepares some “mind-blowing” example for sure
Hey guys,
Interesting discussion you have here, on a quite controversial subject, UI design.
@Norman3D
AFAIK, fileInGamma is no longer affecting the icons in the same way since Max 2012 (I believe), where you have to disable the Gamma settings if they are enabled before buttons are created.
Jorge
there is a piece of one my old tools… it looks OK at first glance
try(destroydialog a) catch()
rollout a "" width:200
(
checkbox useeditor_ch "Use Material Editor" align:#left offset:[-4,0] across:2
spinner slot_sp "Slot: " range:[1,24,1] type:#integer fieldwidth:24 enabled:useeditor_ch.state align:#rigth offset:[4,1]
on useeditor_ch changed state do slot_sp.enabled = state
)
createdialog a
can anyone say what is wrong with it?
As you sad seems ok. But …
rollout a "" width:200
(
checkbox useeditor_ch "Use Material Editor Slot:" align:#left offset:[-4,0] across:2
spinner slot_sp "" range:[1,24,1] type:#integer fieldwidth:30 enabled:useeditor_ch.state align:#rigth offset:[4,1]
on useeditor_ch changed state do slot_sp.enabled = state
)
createdialog a
Checkbox need to control the spinner, right?
what did you change?
the checkbox controls the spinner visibility. that’s correct
i see… you added spinner’s title to the checkbox. no. this is not correct. “using material editor” doesn’t only mean use some of it’s slots. it means more than that in my tool’s logic
But what means?
Ok. Maybe is better to replace checkbox with group because “using material editor” means more than that and add a checkbox only to control “enabled” property of spinner
Maybe... Instead of use the enable property, use the visible property to clean the UI.
rollout a "" width:200
(
checkbox useeditor_ch "Use Material Editor" align:#left offset:[-4,0] across:2
spinner slot_sp "Slot: " range:[1,24,1] type:#integer fieldwidth:30 visible:useeditor_ch.state align:#right offset:[4,1]
on useeditor_ch changed state do slot_sp.visible = state
)
createdialog a
you both are talking about these controls functionality. functionality is absolutely correct. there is a little UI problem.
Hi Denis,
There could be several issues with this window if it is considered as an isolated window and not part of a larger UI.
- The window has no title. (Might be just because its a test)
- The area of the actual UI is too small compared with the frame (titlebar and boders).
- There are no buttons there that allows me to make a decision.
PS: This message is going to be delayed (second post)
Would it be better to replace the check box with a check button?
Then you could also change the button text when in checked state to whatever the alternative to using the material editor.