UIPickerView rightjustify text

Discussion in 'Mac Programming' started by iphoneGuy, Mar 30, 2008.

  1. macrumors member

    Joined:
    Oct 26, 2007
    Location:
    [[NSLocation alloc] initWithCity: Chicago]
    #1
    Does anyone know how to right justify the text in a UIPickerView component? Like the date and time picker.
     
  2. macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #2
    Probably by using pickerView:viewForRow:forComponent:reusingView: which will provide a custom view (UILabel) from the delegate to the UIPicker view.
     

Share This Page