picker icon indicating copy to clipboard operation
picker copied to clipboard

Change FontSize for Picker selected value

Open hossain-bd opened this issue 3 years ago • 5 comments

I was trying to change the font size, font family of the Picker value shown on the screen as the selected value. Did not find an option. Is it possible to do that?

hossain-bd avatar Nov 22 '21 17:11 hossain-bd

Same issue here.

h-assefi avatar Nov 29 '21 12:11 h-assefi

Same here. Can anyone solve this

Greshaex avatar Dec 08 '21 06:12 Greshaex

same here also for the font family

HAFDIAHMED avatar Jan 18 '22 14:01 HAFDIAHMED

No workaround for this issue?

codeheart09 avatar Mar 06 '22 15:03 codeheart09

Normal for Android

  {drinksArr.map((val, index) => (
 <Picker.Item
                style={{
                  fontSize: 30,
                  backgroundColor: Colors.Black,
                }}
                fontFamily="font_family"
                color={Colors.Gold}
                label={val.title}
                value={val.title}
                key={index}
              />
   **For  selected value:**     
          
<Picker.Item
               style={val=="selectedValue"? style.styleOne: styles.stylesOther}
               fontFamily={val=="selectedValue"? "FontFamilyOne": "FontFamilyOther}
               color={Colors.Gold}
               label={val.title}
               value={val.title}
               key={index}
             />```

             
             

Salmankhan033 avatar Jan 01 '23 23:01 Salmankhan033