Any visual layout that incorporates selectable tabs as an organizational element.
Questions tagged [tabview]
770 questions
5
votes
2 answers
Flutter how to use form with tabview
I am trying to create a form with multiple tabs but for some reason if i call validate or save on form i can get only values from tab that is active and same is true for error i think it may be because form only gets values from fields that are…

kei nagae
- 200
- 1
- 15
5
votes
2 answers
Disable item in TabView SwiftUI
How Can I set an item to disabled (not clickable) but visible in my tabView ?
TabView(selection: $selectedTab) {
Settings()
.tabItem {
Image(systemName: "gearshape.fill")
…

Clément Tengip
- 618
- 6
- 19
5
votes
1 answer
SwiftUI TabView: Set selected tabItem from different view but detecting repeated selection
I'd like to display a TabView to display different screens. My first screen (home) displays three buttons which can select one of the three screens to display.
But(!) I have to check if a tab is repeatedly selected to trigger in this case a special…

osx
- 146
- 1
- 11
5
votes
0 answers
.onAppear not getting called when View is nested with in TabView?
The code below was working (onAppear was getting called) but as soon as I nested my two views inside a tabView (to present a UIPageViewController-like UI) the second view's onAppear function never gets called, is this a bug or something I'm doing…

GarySabo
- 5,806
- 5
- 49
- 124
5
votes
1 answer
TabView switching between tabs animated for SwiftUI
I have a TabView and I want to do animated switching between pages, like this:
https://stackoverflow.com/a/54774397/5376525
Is it possible for SwiftUI?

nomnom
- 936
- 10
- 21
5
votes
4 answers
How to switch p:tab in the same form using a command button
How do I switch to a tab () using a command button?

Bryn
- 73
- 1
- 2
- 7
5
votes
0 answers
Change tab based on recycler view header while scrolling
I'm trying to change the tab as we scroll through the recycler view.
I have listed the items in single recycler view.
So when i reach the header ( for example Breakfast then Breakfast tab should be active ) of each section how to change tab…

Lano Angel
- 299
- 5
- 18
5
votes
1 answer
TabView header style
I am using TabVIew and I’ve got two questions:
1.How can I remove the border-bottom of the TabView header?
2. How can I add separator between the items in the TabView header ?
Thanks,
Chen

Chen Cohen
- 51
- 3
5
votes
4 answers
Android: Showing number of new items count on tabs
I have an android application where the home screen is a tab view. One of the tab goes to an "Inbox" activity. I'd like to show a number that indicates the number new messages. This seem to be a standard feature on iPhone apps. Is there any sort of…

tstyle
- 748
- 1
- 10
- 23
5
votes
1 answer
Call function or property in another QML File inside a TabView in QML
I want to call myFunc() in PageA.qml from the main.qml (see the onClicked event of the Button). I tried some property alias stuff, but nothing has worked so far. Any ideas?
Here is my PageA.qml code:
import QtQuick 2.4
import QtQuick.Controls…

jochen
- 88
- 1
- 1
- 7
5
votes
2 answers
UIPageViewController UIImage not showing full screen
I am making an application that is a tab-view controller. For the first tab, I have a UIPageViewController that is scrolling through pictures. Everything works properly, except for that the picture is not showing full screen. I have constraints set…

Adam
- 149
- 1
- 8
4
votes
3 answers
Primefaces tabview active index is not working correctly
I've changed my code completely. But active index is still showing problems. Sometimes it gets called and sometimes it doesn't.
What's wrong with the following xhtml code?

Mudassir Shahzad
- 542
- 2
- 16
- 32
4
votes
0 answers
Gesture Conflict on Tab View and ScrollView(.vertical)
I'm trying to design a SwiftUI view that allows both horizontal and vertical swiping. Currently, I have implemented a solution using a TabView for horizontal movement and a ScrollView(.vertical) for vertical movement. However, I've noticed that the…

Jabed Dhali
- 167
- 6
4
votes
1 answer
navigationTitle not working with UINavigationController inside a TabView in iOS 16
Setting a navigationTitle is not working anymore on iOS 16 when having UINavigationController inside a TabView. Run the code with iOS 14/15, no issue there. If Tabview is commented, navigation title appears for iOS 16 too. It seems the problem is…

Claudiu
- 485
- 1
- 4
- 17
4
votes
1 answer
Disable Tab View Swipe to Change Page in SwiftUI 2.0
I am using a tab view in my SwiftUI app. I want to disable its swipe to left and write to move to other pages. I checked this answer and also checked this one, but none of them works. They are using
.gesture(DragGesture())
which is disabling the…

Taimoor Arif
- 750
- 3
- 19