datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
43 stars 26 forks source link

#318: Bad aligment of ui.bigButton inside ui.buttonsInput #318

Open an-sh opened 2 years ago

an-sh commented 2 years ago

dg version: Date: 2022-01-26T16:27:35.158163 Commit: e8f2a31b5e7a7f32692d38f52492c1307b321c29 Branch: master

screenshot: bug_button_dk

full code (this element is used as a toolbox):

    const filterAcc = ui.accordion();
    filterAcc.addPane('Properties Filter', () => ui.narrowForm([
      propsInput,
      // @ts-ignore
      ui.buttonsInput([
        ui.bigButton('Apply', () => {
          this.filtersService.applyFilter(propsInput.value);
        }),
        ui.bigButton('Reset', () => {
          propsInput.value = '';
          this.filtersService.applyFilter('');
        }),
      ]),
    ]), true);
dnillovna commented 7 months ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14780

dnillovna commented 3 months ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16043