<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>CONNECT U16 - Custom Ribbon Panel - Tool Button Alignment</title><link>https://communities.bentley.com/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment</link><description>I have been working on &amp;amp; off for a while now to create a custom Workflow ribbon for our CONNECT environment. I do not like all the tabs and the need to switch from one tab to another. I&amp;#39;ve also created/modified some of tool panels. As you can see in the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: CONNECT U16 - Custom Ribbon Panel - Tool Button Alignment</title><link>https://communities.bentley.com/thread/687967?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 13:08:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:af708e29-733d-4c9c-ab79-92532662efeb</guid><dc:creator>mwlong</dc:creator><description>[quote userid="2473" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687955"]Why to copy gui.dgnlib?[/quote]
&lt;p&gt;I copied it so I could add my customization and make them accessible to all users company wide. I append MS_GUIDGNLIBLIST to add my customized gui.dgnlib. In v8i I customized the task dialog and had all the tools I use on 1 tab. I am not a fan of switching tabs to access various tools. I also added a lot of custom tools. With v8i the customizations were only available to my office and not company wide. Many users in other offices liked the customization when we started sharing work and they had access to my environment. With CONNECT I was asked to provide this company wide.&lt;/p&gt;
&lt;p&gt;Thanks for the information on the .xml file. I will look into this. I am not very familiar with editing .xml, but I can do some research and figure it out.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONNECT U16 - Custom Ribbon Panel - Tool Button Alignment</title><link>https://communities.bentley.com/thread/687955?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 11:22:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e5ee2d76-987d-45ad-abc4-73b2f5141c64</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687953"]It was created by copying the delivered gui.dgnlib[/quote]
&lt;p&gt;Why to copy gui.dgnlib? When ribbon is customized in &amp;quot;a user graphical way&amp;quot;, customization is stored in personal.dgnlib by default.&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687953"]to customize the ribbon properly?[/quote]
&lt;p&gt;I would say &amp;quot;fully&amp;quot;, because even the limited graphical way (ribbon customization tool) creates the customization &amp;quot;properly&amp;quot; too.&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687953"]So I would need to use SDK in order to access additional setting to customize the ribbon[/quote]
&lt;p&gt;In fact, not. As long as xml definition is acceptable (and not to be compiled to .rsc file), you only need perfect knowledge of xml and editor, that supports xml editing using .xsd definition.&lt;/p&gt;
&lt;p&gt;SDK itself adds documentation (quite basic ) and resource compiler, when .xml is not enough and .rsc should be delivered.&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687953"]I&amp;#39;ve always been interested in SDK, but never really looked into it.[/quote]
&lt;p&gt;If you have access to SDK (your SELECT agreement covers also BDN membership, which is free for in-house development) and a few hours (well, maybe days) to read and understand how ribbon definition works, and to play with it to get some knowledge, probably no problem to go this way.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONNECT U16 - Custom Ribbon Panel - Tool Button Alignment</title><link>https://communities.bentley.com/thread/687953?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 11:06:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2a2fce71-faf7-4347-9555-add2429ab63e</guid><dc:creator>mwlong</dc:creator><description>[quote userid="2473" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687931"]How the panel was created?[/quote]
&lt;p&gt;It was created by copying the delivered gui.dgnlib and modifying that by right-clicking on the ribbon and selecting Customize. I created the MT Custom workflow. Then I created the MT &amp;amp; More tabs. Then I pulled tools from column of choices.&lt;/p&gt;
[quote userid="2473" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment/687931"]described in MicroStation SDK documentation[/quote]
&lt;p&gt;So I would need to use SDK in order to access additional setting to customize the ribbon properly? I&amp;#39;ve always been interested in SDK, but never really looked into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONNECT U16 - Custom Ribbon Panel - Tool Button Alignment</title><link>https://communities.bentley.com/thread/687931?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 09:23:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d12f3c11-1bb0-4c90-af2c-2dab0b041d32</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment"]I have the Attributes panel[/quote]
&lt;p&gt;How the panel was created? Is it referenced Attributes panel, or you created it manually and added only the panel content?&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment"]the margin field is greyed out.[/quote]
&lt;p&gt;Originally I though that it is because you use &amp;quot;ribbon non standard&amp;quot; controls, when drop down menus are implemented using special providers. But, as I see, margin is greyed out even when I add simple button.&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment"]Looking at the Help documentation there is mention of margins (for tools) and center alignment (for panels).[/quote]
&lt;p&gt;It looks like help describes what is possible technically (features of ribbon), but not what is allowed, when simple customization using the customization tool is used.&lt;/p&gt;
[quote userid="5256" url="~/products/administration/f/product-administration-forum/223580/connect-u16---custom-ribbon-panel---tool-button-alignment"]Is there a way to reorganize the tool buttons within panels on the ribbon?[/quote]
&lt;p&gt;Yes and no.&lt;/p&gt;
&lt;p&gt;In general, a concept of ribbon layout is dynamic, based on rules and preferences: What control is fixed size, what can be resized automatically, using what layout, margins etc. It allows to render the ribbon content flexibly, depending on GUI configuration.&lt;/p&gt;
&lt;p&gt;On the other hand, some controls allow to define margins (Group panel, all controls derived from Button...) and horizontal / vertical alignment (Group panel...). The problem here is that these settings are not accessible through the customization tool.&lt;/p&gt;
&lt;p&gt;When you want to define own ribbon, using all available features, you have to use &amp;quot;ribbon xml definition&amp;quot; (optionally compiled into rsc file). Tt is described in MicroStation SDK documentation, based on .xsd file and have to be created manually.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>