예제 #1
0
 static void UpdateRibbonCompact()
 {
     // collapse panel if in compact mode
     if (AddinOptions.Current.CompactRibbon)
     {
         rhinoPanel?.Collapse(Addin.AddinName);
         grasshopperPanel?.Collapse(Addin.AddinName);
     }
     else
     {
         rhinoPanel?.Expand(Addin.AddinName);
         grasshopperPanel?.Expand(Addin.AddinName);
     }
 }