Questions tagged [picker]

Synonym of selector or chooser.

Synonym of selector or chooser.

1556 questions
6
votes
1 answer

SwiftUI Picker Label with PickerStyle .menu in iOS HowTo

For some reason Apple decided to drop Label support for Pickers (tested in iOS15 and iOS16) For example: Picker(selection: $gender, label: "Select your gender" , content: { …
6
votes
0 answers

Change picker detail table list style?

In SwiftUI, I'm using the default Picker like this: Picker("Choose option", selection: $selectedRateID) { ForEach(model.rates, id: \.id) { Text($0.title).tag($0.id) } } The picker renders to this: When I try to select an option,…
TruMan1
  • 33,665
  • 59
  • 184
  • 335
6
votes
4 answers

How to stop a SwiftUI Picker from reacting to touches outside its visible area?

I have in a View a Picker that I wish to limit to a defined height and width. While the code below accomplishes that visually, the picker responds to tap actions outside of its area -- in some cases, responding to tap on a nearby button as if I…
ConfusionTowers
  • 911
  • 11
  • 34
6
votes
1 answer

Swift UI - Wheel Picker, Change Alignment and Fontsize

Is it possible to customise the wheel pickers font und change the alignment to .leading?
Daniel
  • 568
  • 3
  • 15
6
votes
2 answers

Looking for js (perhaps jQuery) timezone (only) control UI widget

I have been looking for a javascript (hopefully jQuery) timezone chooser/picker/control widget that I can include in my social-calendar/event-router web app. Given that there are approximately 400 cities listed in the usual dropdown menus, I was…
6
votes
1 answer

Picker with SegmentPickerStyle() doesn’t show picker title in SwiftUI

I created a segment picker for select gender in that segment picker I have to option one for Male and another for Female. Picker is working fine But set title on with picker it’s not showing. I set title Select Gender which is not showing as a…
Ravindra_Bhati
  • 1,071
  • 13
  • 28
6
votes
1 answer

How to scroll cupertino picker automatically flutter?

I am developing a new flutter app for IOS. and I am using the Cupertino picker as well and I want to scroll the picker automatically without any touching from the users. How can I achieve this?
not working
  • 587
  • 1
  • 7
  • 14
6
votes
1 answer

Styling of Cupertino Picker in Flutter

I have tried to implement a layout like this using flutter. I have used the Cupertino Picker Class for that. But it just looks not as good as I want it to look. I have tried to fix it by using the properties, that are listed on the flutter…
heyho123
  • 119
  • 2
  • 9
6
votes
2 answers

How do I make an iOS UIPicker in react native with multiple columns and titles?

Let's pretend my problem is I want a user to be able to select an amount of apples, and an amount of pears, with one control. I see the picker in the "Timer" section of the clock app bundled with iOS, and I like it. I want exactly that, except…
Adam Barnes
  • 2,922
  • 21
  • 27
6
votes
0 answers

Remove line in bottom and top item Picker IOS on React native

I used Picker to custom my screen: You can see in my screen it have two line in bottom and top item slected. How I can remove them? Here is my code renderIOS() { let marginTop = isIOS ? 70 : 25; marginTop = this.state.isEdit ? 0 :…
Hoa.Tran
  • 935
  • 10
  • 26
6
votes
1 answer

How do I add icon/images to my picker items in React Native?

I have a Picker component with two language choices: French and Korean. I would like to add an icon/picture of a flag next to each Text Component. Something that would like something like this: I don't see anything about adding an icon in the…
VK1
  • 1,676
  • 4
  • 28
  • 51
6
votes
2 answers

Django -- where is the many to many picker widget?

For each row of table A, I want to be able to add one or more rows from table B. The Django admin has an example, the user permissions picker -- I attach a screen shot. Each user can have any number of permissions. The permissions start on the…
Rick Graves
  • 517
  • 5
  • 11
6
votes
1 answer

how to fill picker (android) of react native with fetch

I have a picker in my app and i want to fill this with data fetched in the server, I have the data in a state of the app, but I don't know how to make the app to update the picker when the data is fetched constructor(props) { super(props); …
xploshioOn
  • 4,035
  • 2
  • 28
  • 37
6
votes
1 answer

How to make custom Android string Picker that fits inside another view?

I have been researching Android Pickers as described here. There are pickers for time, date, and number fields but, much to my surprise, I discovered there is no generic picker for basic strings. I have found several resources discussing how to…
gonzobrains
  • 7,856
  • 14
  • 81
  • 132
6
votes
3 answers

Appcompact DialogFragment single-choice checkmark color

I have a problem. My activity has style