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

[Optimize]: BrnTextSelectFormItem 设置 titlePaddingLg 没有生效 #108

Closed
lemos1235 opened this issue Feb 25, 2022 · 1 comment
Closed

Comments

@lemos1235
Copy link

优化建议

内容需包含:

1、优化描述

代码:

  var smallFormItemConfig = BrnFormItemConfig(
    titleTextStyle: BrnTextStyle(fontSize: 14),
    hintTextStyle: BrnTextStyle(fontSize: 14),
    titlePaddingSm: EdgeInsets.zero,
    titlePaddingLg: EdgeInsets.zero,
  );

BrnTextInputFormItem(
    themeData: smallFormItemConfig,
    title: "店铺名称",
    hint: "填写店铺名称",
    onChanged: (newValue) {},
  ),
  BrnLine(),
  BrnTextSelectFormItem(
    themeData: smallFormItemConfig,
    title: "主营范围",
    hint: "",
    onTap: () {},
  ),

只对 BrnTextInputFormItem 生效,而对 BrnTextSelectFormItem 没有生效

2、关联组件

BrnTextSelectFormItem

3、具体优化建议

4、运行环境(非必填)

  • 运行设备 android simulator
  • 系统 windows 11
  • Bruno 版本 null-safe

5、附加信息

当前效果:

image

期望效果:

全部左对齐

@zhoujuanjuan
Copy link
Collaborator

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

2 participants