engageLively / galyleo-dashboard

3 stars 2 forks source link

Close Button on Sidebar is turning into a column #104

Open rickmcgeer opened 1 year ago

rickmcgeer commented 1 year ago

@merryman, I've tried everything I can think of with the layout, but it's stubbornly still doing this: closebutton

Obviously, it should be on a single line, as it is when I do a part(CloseButton).openInWorld();

closebutton-standalone Can you take a look and bring it back to where it was when it had a HorizontalLayout? $world.execCommand("open browser", {moduleName: "studio/side-bar.cp.js", packageName: "galyleo-dashboard", });

rickmcgeer commented 1 year ago

It turns out I was fixing the wrong button!
Added a layout to MenuBarButton in GalyleoSideBar

layout: new TilingLayout({
            align: 'row',
            axisAlign: 'center',
            align: 'right',
            spacing: 4
          }),

@merryman, please review and I will close: $world.execCommand("open browser", {moduleName: "studio/side-bar.cp.js", packageName: "galyleo-dashboard", codeEntity: "GalyleoSideBar"});