kongzue / DialogXSample

DialogX 计划提供模块扩展包库 这个库目的在于实现一些常用的模块功能,例如BottomDialog+地址选择、日期选择、分享对话框等半实现功能,你可以选择性的引入部分模块,配合DialogX完成功能的构建
157 stars 14 forks source link

能够支持一下单个配置主题 #13

Open coolyunyun opened 2 years ago

coolyunyun commented 2 years ago

目前只能通过全局设置主题后,sample也应用了该主题,可否局部设置主题,针对单个控件进行生效。

kongzue commented 2 years ago

请仔细阅读DialogX文档:https://github.com/kongzue/DialogX/wiki

image

coolyunyun commented 2 years ago
image

作者理解错我的意思了,我说的是扩展包DialogXSample 比如:CustomWheelPickerDialog、CityPicker、DatePicker这些,目前我看源码是读的全局配置,能否加入对单个控件进行配置,目前有这样的需求,全局样式用IOSStyle,CustomWheelPickerDialog如果是IOSStyle两边会有留白,需要跟换样式。或者能否把留白去掉。

image
kongzue commented 2 years ago

Sample只是范例,建议自行拉取代码修改使用


发件人: coolyunyun @.> 发送时间: Friday, August 26, 2022 6:21:49 PM 收件人: kongzue/DialogXSample @.> 抄送: Kongzue @.>; Comment @.> 主题: Re: [kongzue/DialogXSample] 能够支持一下单个配置主题 (Issue #13)

[image]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F24830302%2F186882932-c5e5179f-1953-4063-b3c2-6157c972ce19.png&data=05%7C01%7C%7C705a274f6f9a41b14c1c08da874cc9ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637971061139022078%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PgxS0lqJhRXz5PD1EaG%2BCpKUlN80xgPAVtKvwDTM2WI%3D&reserved=0

作者理解错我的意思了,我说的是扩展包DialogXSample 比如:CustomWheelPickerDialog、CityPicker、DatePicker这些,目前我看源码是读的全局配置,能否加入对单个控件进行配置,目前有这样的需求,全局样式用IOSStyle,CustomWheelPickerDialog如果是IOSStyle两边会有留白,需要跟换样式。或者能否把留白去掉。

[image]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F24830302%2F186883528-754b52b7-4000-416c-9db9-05efc5d8e489.png&data=05%7C01%7C%7C705a274f6f9a41b14c1c08da874cc9ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637971061139177673%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kMTtNcm8UgK5BCB%2BzbFy%2FafbFS0LjWdGqP%2BuLa7%2FOPE%3D&reserved=0

― Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkongzue%2FDialogXSample%2Fissues%2F13%23issuecomment-1228323180&data=05%7C01%7C%7C705a274f6f9a41b14c1c08da874cc9ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637971061139177673%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FsTkdu0%2BRcERyIqxj3m1aUNoigiRKO2Ncfm3BVP3of4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACNFSH5XKU5SRV5HC6X53H3V3CLD3ANCNFSM57VXYNQQ&data=05%7C01%7C%7C705a274f6f9a41b14c1c08da874cc9ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637971061139177673%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5X4eRl95jxypUD5u5NTETweHdf8L7cFTYfkjsSTUtoE%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

kongzue commented 2 years ago

image