Skip to main content

Make toolbar shorter height by moving buttons out of groups

Comments

3 comments

  • Permanently deleted user
    Josh, I had the same issue. 

     

    I don't think you can get rid of the white space.  There are two ways you can improve this.

     

    I would suggest using more tabs to spread the tools out but keeping the tools the same size.

     

    Or you can open up your json and look for the tool name and changing it to Small (it's likely defaulted to 'Large').

     

    Example:

     

    "id": "TDOGms9v",

     

                  "type": "toolbarGroup",

     

                  "name": "Measure & Draw",

     

                  "isDefault": false,

     

                  "items": [

     

                    {

     

                      "id": "NavigationGroup",

     

                      "type": "toolbarGroup",

     

                      "name": "@language-toolbar-group-navigation",

     

                      "layout": "Small",

     

                      "items": [

     

    This will trim the icons to half size.

     

    Good luck,

     

    John
    0
  • Dan Giersz
    You can probably control this with custom CSS.
    0
  • Permanently deleted user
    You can play with the custom css if you are familiar with that. Use chrome developer tools and inspect the element and play with the css on the fly.

     

    Here is some that works. 

     

    This gets added to desktop.css  /* remove extra padding from the toolbar group */ .toolbar-group { min-height: 0!important; padding-bottom: 0!important; } /* remove the border of the groups*/ .nested-group .toolbar-group { border: unset; } /* hide the text from the toolbar group */ .toolbar-group h4 { display: none!important; }

     

     
    0

Please sign in to leave a comment.