How to use the @bentley/ui-ninezone.Direction.Right function in @bentley/ui-ninezone

To help you get started, we’ve selected a few @bentley/ui-ninezone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / frontstages / Frontstage1.tsx View on Github external
class FrontstageNavigationWidget extends React.Component {

  private _horizontalToolbar =
    
          
          
        
      }
    />;

  private _verticalToolbar =
    
          
          
        
      }
    />;

  public render() {
    return (
      
    );
github imodeljs / imodeljs / ui / framework / src / ui-framework / widgets / ToolbarWidgetBase.tsx View on Github external
constructor(def: ToolbarWidgetProps) {
    super(def);

    this.horizontalDirection = (def.horizontalDirection !== undefined) ? def.horizontalDirection : Direction.Bottom;
    this.verticalDirection = (def.verticalDirection !== undefined) ? def.verticalDirection : Direction.Right;

    this.horizontalPanelAlignment = ToolbarPanelAlignment.Start;
    this.verticalPanelAlignment = ToolbarPanelAlignment.Start;

    this.horizontalItems = def.horizontalItems;
    this.verticalItems = def.verticalItems;
  }
github imodeljs / imodeljs / ui / framework / src / ui-framework / widgets / ToolWidget.tsx View on Github external
constructor(props: ToolWidgetProps) {
    super(props);

    this._appButton = props.appButton;

    this.widgetType = WidgetType.Tool;
    this.verticalDirection = (props.verticalDirection !== undefined) ? props.verticalDirection : Direction.Right;

    const activeStageName = FrontstageManager.activeFrontstageDef ? FrontstageManager.activeFrontstageDef.id : "";
    this.widgetBaseName = `[${activeStageName}]ToolWidget`;
  }