Hi, I am working with the code related to docking of toolbars [*here<http://opengrok.libreoffice.org/xref/core/framework/source/layoutmanager/toolbarlayoutmanager.cxx#2628> *]. When a toolbar is docked, I need to reset all the toolbars in the row such that there is equal spaces between each toolbar in a row. So, on any docking action, I set the value of each toolbar by setting aRowColWinData.aRowColumnWindowSizes[i].X in a separate function made by me called just after this *line<http://opengrok.libreoffice.org/xref/core/framework/source/layoutmanager/toolbarlayoutmanager.cxx#2845> *. I rechecked from SAL_DEBUG which shows that values of al the toolbar are correct as I wish to set, but actually docked toolbar takes correct position and the position of pre-existing toolbars don't change and still remain the same as was before the docking. Since these positions (of pre-existing toolbars) were correctly written here (as shown by SAL_DEBUG) but in the end the value remains unchanged (as shown in the UI by actually running LO), means these values are overridden somewhere in between.
So, to gist - the toolbar that is getting docked takes its correct position (and is shown correctly in the UI), but the problem is that the pre-existing toolbars in the row never change their position + I am unable to find that code. If someone is acquainted with the place where the *absolute positions of toolbars in a row is set after some toolbar docking action*, please help me with the same. Thanks and Regards, Prashant IRC- elixir
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice