Skip to content

android input cursor control #10475

@yehun

Description

@yehun

Bug Description

As shown in the figure, I have two questions:

  • The cursor display position of TextEdit in material is incorrect
  • How to make this cursor not display in Android

描述描述

Reproducible Code (if applicable)

import { LineEdit } from "std-widgets.slint";
import { TextField } from "@material";

export component Demo {
    
    VerticalLayout {

        HorizontalLayout {
            height: 48px;
            LineEdit {
                height: parent.height;
                placeholder-text: "std-widgets -> LineEdit";
            }
        }

        HorizontalLayout {
            height: 48px;
            TextField {
                label: "Material -> TextField";
                height: parent.height;
            }
        }
    }
}

Environment Details

  • Slint Version: 1.15.0
  • Platform/OS: Debian 13
  • Programming Language: Rust
  • Backend/Renderer: backend-android-activity-06

Product Impact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions