Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle field in structure field #2291

Closed
Werbschaft opened this issue Nov 7, 2019 · 1 comment

Comments

@Werbschaft
Copy link

@Werbschaft Werbschaft commented Nov 7, 2019

When using a Toggle field in a structure and align it to the right the preview is broken and looks a bit strange. It would be nice if aligned to the right that the toggle is right and the text left of it.

Preview

Bildschirmfoto 2019-11-07 um 10 46 04

Testcase

diplom:
  label: Diplom
  type: structure
  min: 1
  columns:
    frage:
      width: 4/6
    aktiv:
      width: 2/6
      align: right
  fields:
    frage:
      type: text
      label: "Frage"
      width: 2/3
    aktiv:
      type: toggle
      label: "Frage aktiv"
      default: true
      text:
        - Nein
        - Ja
afbora added a commit that referenced this issue Nov 7, 2019
@afbora afbora mentioned this issue Nov 7, 2019
0 of 4 tasks complete
@afbora afbora self-assigned this Nov 7, 2019
@afbora afbora added this to the 3.3.1 milestone Nov 7, 2019
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

@bastianallgeier bastianallgeier commented Nov 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.