腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
4
回答
如
何为
flexDirection
=
row
设置
alignSelf
javascript
、
react-native
、
flexbox
我想创建一个作为
flexDirection
="
row
"的View。但是当我使用
flexDirection
="
row
"时,我不能使用
alignSelf
。
浏览 33
提问于2019-02-14
得票数 1
回答已采纳
5
回答
响应本机如何包装内容视图
react-native
它要么是我
设置
视图的高度,要么只是弯曲,但仍然没有包装视图。
浏览 10
提问于2016-11-09
得票数 39
回答已采纳
1
回答
如何在react-native中重叠
react-native
您好,我想在我的反应本机应用程序中创建UI如下但我就是这样以下是我的代码 <View style={{flex: 1,
flexDirection
:'
row
',alignItems:'flex-end',
alignSelf
:'flex-end:'
row
浏览 0
提问于2017-11-29
得票数 22
回答已采纳
3
回答
如何在react native中将两个按钮放在同一行中?
javascript
、
reactjs
、
react-native
、
jsx
dialogContentView: {
flexDirection
: 'column',}, button
浏览 0
提问于2018-10-11
得票数 3
回答已采纳
2
回答
当视图在RN中是绝对位置时,不可单击触摸屏
android
、
ios
、
react-native
<View style={{
flexDirection
: '
row
', justifyContent: 'space-between', justifyContent: 'center', paddingHorizontal: 12 }}> <TouchableOpacity onPress={...}>
浏览 31
提问于2019-02-02
得票数 1
2
回答
在样式中
设置
“背景颜色”隐藏了“视图”组件
react-native
<View> <View style={{ flex: 1,
alignSelf
: 'stretch' }}> </View> <View st
浏览 0
提问于2018-06-06
得票数 0
回答已采纳
2
回答
如何将TouchableOpacity与右边的图标对齐?
react-native
、
layout
我试过
alignSelf
:'flex-end‘和right: 0,它们都不起作用。addModalContainer: { width: '95%',
alignSelf
borderWidth: StyleSheet.hairlineWidth, }, addModalHeader
浏览 0
提问于2019-07-25
得票数 0
1
回答
未能在react本机元素中对齐复选框
react-native
const renderField=({label,keyboardType,name,icon,iconType}) => { <View style={{
flexDirection
:'
row
'}}>} const checkBoxField=({label,keyboardTy
浏览 0
提问于2018-04-15
得票数 3
回答已采纳
1
回答
React Native Flex Box:子组件的
alignSelf
不符合父组件的调整内容
react-native
、
flexbox
使用下面的代码,只要我在图标上做“
alignSelf
”,它就会失去它的垂直位置。根据文档,
alignSelf
应该只在横轴上覆盖属性,而不是在主轴上。这里的图标是SVG图标。marginLeft: 5, }, height: 20,
alignSelf
浏览 8
提问于2020-08-17
得票数 0
2
回答
在“反应本机”中如何排列图像按钮
ios
、
reactjs
、
react-native
我需要在4行和2列中排列8个图像按钮,我尝试了使用
flexDirection
,但这不是工作(混淆)。请帮我.容器:{ backgroundColor:'#ccffcc',
flexDirection
: ('
row
'), backgr
浏览 3
提问于2016-02-15
得票数 0
回答已采纳
3
回答
ScrollView不能在安卓系统上滚动
javascript
、
android
、
react-native
20 : 0) userStatsContainer: {
flexDirection
: '
row
', },
flexDirection
: '
row
',paddingRight: 10,
alig
浏览 24
提问于2019-02-17
得票数 2
1
回答
在React Native中将组件放在中间右侧
react-native
、
flexbox
1 }}> <View style={{
flexDirection
浏览 20
提问于2019-01-09
得票数 0
回答已采纳
1
回答
React native flexbox如何垂直对齐项目?
css
、
react-native
、
flexbox
<View display: "flex",}}<View style={{ width: "40%",
alignSelf
:"flex-start" }}> <View style={{
alignSelf
: "center", marginTop: "2%&
浏览 0
提问于2018-01-28
得票数 3
回答已采纳
1
回答
在不使用库的情况下与react原生中的文本行
react-native
、
react-native-android
、
jsx
、
react-native-ios
<View> <Text style={{
alignSelf
:'center', paddingHorizontal:5 }}>Your class</Text>
浏览 1
提问于2017-12-18
得票数 6
回答已采纳
2
回答
如何在反应性本机中为不同的IOS设备
设置
字体大小
javascript
、
reactjs
、
react-native
styles.body}> <View style={styles.
row
</View> }var styles = StyleSheet.create({ marginTop: 65,
flexDirection
:'
row<
浏览 2
提问于2015-10-05
得票数 7
3
回答
在大文本的第3行末尾添加“读更多”按钮。
javascript
、
react-native
、
text
、
styled-components
'; <View style={{
flexDirection
: '
row
'}}> </Text> <Text onPress={() => navigationRef.navigate('somepage')} style={{
alignSelf
浏览 4
提问于2022-06-15
得票数 2
1
回答
在按钮中显示为长按钮反应本机
javascript
、
reactjs
、
react-native
我尝试用它来写我的登录按钮,但是当我按下它的时候它不起作用,所以我在它的属性中添加了一个flexGrow:1,它显示的按钮很长,如下所示:import React from 'react'; SafeAreaView, ScrollView, TextInput, Text return
浏览 3
提问于2020-01-27
得票数 1
回答已采纳
1
回答
两种不同fontSizes文本中心的对齐
css
、
reactjs
、
native
<View style={
flexDirection
:‘
flexDirection
’,justifyContent:‘空格’,marginVertical: 7,}>< style={{ marginVertical
浏览 1
提问于2022-10-20
得票数 0
1
回答
将视图的子节点定位在React本地
user-interface
、
react-native
:"
row
"}}> <Text style={{fontSize: 12, marginLeft: 32,
alignSelf
/View> <View style={{marginTop: 10}}>
浏览 5
提问于2020-08-28
得票数 1
回答已采纳
1
回答
即使在使用TextInput时,键盘也会阻塞KeyboardAvoidingView字段
ios
、
reactjs
、
react-native
、
jsx
: '
row
'
alignSelf
: 'flex-start', fontFamily: 'SFProText-Regular', paddingTop: 3,
flexDirection
: '
row
paddingBottom: 0
浏览 1
提问于2017-07-24
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android开发之玩转FlexboxLayout布局
Android 弹性布局 FlexboxLayout了解一下
Python3之excel操作-openpyxl模块
办公小技巧:单元格一点 交互图表立现
PHP中用PDO查询Mysql来避免SQL注入风险的方法
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券