nativescript - Nativescript 6 更新了破坏样式
问题描述
我刚刚更新到 Nativescript 6,看起来我的很多样式现在都很时髦。某处是否有重大更改列表?这里有些例子:
- 在 iOS 上,我的“后退”按钮从白色变为深色
- 在 Android 中,所有嵌套的 FlexboxLayout 现在都没有排队
- FlexboxLayout 中的一些图像由 height="20" stretch="aspectFit" 设置填充整个容器等。
代码示例:
<FlexboxLayout
flexDirection="row"
class="title-bar"
alignContent="center"
justifyContent="space-between"
ref="view"
>
<Label :text="title" class="title-bar-label" />
<FlexboxLayout flexDirection="row">
<Image
src="res://share"
stretch="aspectFit"
width="25"
height="30"
marginRight="20"
v-if="share"
@tap="$emit('share')"
/>
<Image src="res://title_logo" stretch="aspectFit" width="30" />
</FlexboxLayout>
</FlexboxLayout>
解决方案
推荐阅读
- google-apps-script - 谷歌表格宏 - JS
- python-3.x - Python中的“^I”(克拉大写-i)字符是什么?
- java - Jackson - 如何在 WebClient 中不指定 @JsonProperty 的情况下设置反序列化命名策略
- r - 如何加快 EDA 和模型在 r 中的运行速度?
- python-3.x - 此代码打印月份及其高温和低温的列表。如何使用更新功能?检查代码下的解释
- azure - 如何在 vnet 之外使用 azure APIM?
- python - 使用 pd.concat 并通过 .to_csv 导出输出时如何为每一行设置不同的索引名称
- python - 如何为 TensorFlow 预处理 pandas 数据集
- python - 如何在python中解析字符串中的字符串替换字段?
- eucalyptus - Euca 5.0 无节点控制器