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

app-nvue下真机测试文字垂直居中有偏移 #1220

Open
wakaryry opened this issue Jan 4, 2020 · 3 comments
Open

app-nvue下真机测试文字垂直居中有偏移 #1220

wakaryry opened this issue Jan 4, 2020 · 3 comments
Assignees
Labels
bug Something isn't working nvue

Comments

@wakaryry
Copy link

wakaryry commented Jan 4, 2020

<view style="background-color: #007AFF; height: 100rpx; flex-direction: row; align-items: center;">
				<text style="font-size: 36rpx; color: #FFFFFF;">我的意思是看看能不能居中的</text>
			</view>

app-nvue下ios真机,文字垂直居中会往上有一段小偏移,尤其是有其它内容对比一起排版的时候,就能够看出来了。

模拟器上面正常。

没有在安卓上面测试。

谢谢。

@Wangyaqi
Copy link
Contributor

Wangyaqi commented Jan 7, 2020

在weex playground试一下是不是也是这样

@wakaryry
Copy link
Author

wakaryry commented Jan 7, 2020

不清楚。我以前感觉是正常的。也忘记了是不是更新之后出来的问题。

我现在 icon和文字 垂直居中 一起排,在 mp和h5 也无法对上。在 ios模拟器里面就正常。

@dcloudhdx
Copy link
Contributor

iOS 是存在整个问题,暂时设置高度解决

@dcloudhdx dcloudhdx added the bug Something isn't working label Feb 4, 2020
@dcloudhdx dcloudhdx self-assigned this Feb 4, 2020
@Otto-J Otto-J added the nvue label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nvue
Projects
None yet
Development

No branches or pull requests

4 participants