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

Text in tutorial doesn't scroll #181

Open
ghost opened this issue May 5, 2024 · 0 comments
Open

Text in tutorial doesn't scroll #181

ghost opened this issue May 5, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented May 5, 2024

In one of mine TargetFocus the text is too long so I'd like to make it scrollable.

The TargetFocus is this:

TargetFocus(
  identify: "BardPublicType",
  keyTarget: keyTargets["chooseBardPublicTypeKey"],
  enableOverlayTab: true,
  enableTargetTab: true,
  shape: ShapeLightFocus.RRect,
  radius: 5.0,
  contents: [
    TargetContent(
      child: Column(
        mainAxisSize: MainAxisSize.min,
        crossAxisAlignment: CrossAxisAlignment.start,
        children: <Widget>[
          Padding(
            padding: const EdgeInsets.only(top: 50.0),
            child: Text(
              translate("tutorial.bard_public_column_title"),
              style: const TextStyle(fontWeight: FontWeight.bold, color: Colors.white, fontSize: 20.0),
            ),
          ),
          Padding(
            padding: const EdgeInsets.only(top: 10.0),
            child: Text(
              translate("tutorial.choose_bard_public"),
              style: const TextStyle(color: Colors.white, fontSize: 18.0),
            ),
          ),
        ],
      ),
    ),
  ],
),

The last text is the one too long.
I tried to put it in a SingleChildScrollWiew but it didn't work.
I tried to put even the Padding or the whole column in a SingleChildScrollView but this doesn't work either.

Any idea to how to make it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants