Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

194
Vistas
Cómo arreglar las comas entre los componentes flexibles en reaccionar nativo

Soy nuevo en reaccionar nativo, por lo que estoy seguro de que hay una solución muy obvia para esto, pero entre mis vistas flexibles en reaccionar nativo, hay una pequeña coma allí por alguna razón. No es muy obvio, pero aún notable. Me preguntaba

Con el zoom normal, apenas se nota: Captura de pantalla de mi aplicación nativa de reacción en Chrome con un zoom del 100 %

Pero con un zoom del 500 %, es muy obvio: Captura de pantalla de mi aplicación nativa de reacción en Chrome con un zoom del 500 %.

Y aquí está mi archivo index.js:

 import { StatusBar } from 'expo-status-bar'; import { StyleSheet, Text, SafeAreaView, Button, View, Image, TouchableOpacity} from 'react-native'; export default function App() { console.log("App executed!"); const handleTextPress = () =>console.log("Text Clicked!.com") return ( <SafeAreaView style={{ height: '100%'}}> <View style={{ height: '20%', width: "100%", flexDirection: "row" }}> <TouchableOpacity style={{flex: 1}}> <View style={{ backgroundColor: "dodgerblue", height: "100%" }}/> </TouchableOpacity>, <TouchableOpacity style={{flex: 0.1}}> <View style={{ backgroundColor: "black", height: "100%" }}/> </TouchableOpacity>, <TouchableOpacity style={{flex: 1}}> <View style={{ backgroundColor: "black", height: "100%" }}/> </TouchableOpacity> </View> <StatusBar style="auto" /> </SafeAreaView> ); } const styles = StyleSheet.create({ toptext: { color: "black" } });
about 4 years ago · Santiago Gelvez
2 Respuestas
Responde la pregunta

0

Mi pregunta ha sido respondida, gracias por toda su ayuda.

about 4 years ago · Santiago Gelvez Denunciar

0

Prueba esto. Ha agregado , después de su TouchableOpacity

 import { StatusBar } from 'expo-status-bar'; import { StyleSheet, Text, SafeAreaView, Button, View, Image, TouchableOpacity} from 'react-native'; export default function App() { console.log("App executed!"); const handleTextPress = () =>console.log("Text Clicked!.com") return ( <SafeAreaView style={{ height: '100%'}}> <View style={{ height: '20%', width: "100%", flexDirection: "row" }}> <TouchableOpacity style={{flex: 1}}> <View style={{ backgroundColor: "dodgerblue", height: "100%" }}/> </TouchableOpacity> <TouchableOpacity style={{flex: 0.1}}> <View style={{ backgroundColor: "black", height: "100%" }}/> </TouchableOpacity> <TouchableOpacity style={{flex: 1}}> <View style={{ backgroundColor: "black", height: "100%" }}/> </TouchableOpacity> </View> <StatusBar style="auto" /> </SafeAreaView> ); } const styles = StyleSheet.create({ toptext: { color: "black" } });
about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda