Which calls redraw a view

Hi,

I have a toolbar containing three image buttons. Initially, two buttons are visible and one hidden which DHTMLx renders nicely in the center of the toolbar.

¦ gravity:1 ¦ button ¦ button ¦ gravity:1 ¦

There is a condition that causes the two buttons to be hidden and the hidden button to appear. In this scenario DHTMLx gets a little confused and places the single button off-center. The ordering appears to have been forgotten and the following appears:

¦ gravity:1 ¦ gravity:1 ¦ button ¦

In trying to resolve the issue i have tried all of the reformatting calls on the toolbar but the documentation doesn’t explain what each of the calls actually do. Can you explain the difference between the following:

  • adjust
  • reconstruct
  • render
  • resize
  • resizeChildren

Thanks,
James

Hi,

could you attach toolbar config ?

The ordering appears to have been forgotten and the following appears:
Can you provide json structure of toolbar with all buttons?
Normally buttons must not change their order after hiding/showing.
Also which version of dhtmlxTouch you are using?

I’ll put together an example for you if I find the time.