tab rows swap on click

Forum to discuss the Web client version of Servoy.

tab rows swap on click

Postby dfrazier » Tue Apr 16, 2013 7:52 pm

When you have a tabpanel that has so many tabs it takes up 2+ rows, it causes behavior my users do not like. When you have 2+ tab rows, when you click on a tab in a row above the first row, the row you click on moves down to become the bottom row. In other words, the tabs shift around as you click on them. It becomes confusing/annoying to my users. I realize that there is precedent for this behavior in other programs out there (even Microsoft ones), but I do not like it. Is there some way to change this behavior so the tabs always stay in the same position all the time?

Here is how it starts:
01.png



Then I click on a tab in the top row and it causes the tab rows to swap (this annoys my users):
02 after tab click.png


I want tabs to stay in the same spot all the time!
You do not have the required permissions to view the files attached to this post.
This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth

Re: tab rows swap on click

Postby lopamudram » Wed Apr 17, 2013 8:32 am

If your users are ok with scrolling tabs then there is a property "scrollTabs" for TabPanel if set to true will allow the tabs to stay on a single line and you can scroll them from left to right.

Hope this helps.

Lopamudra
http://www.mindfiresolutions.com/
lopamudram
 
Posts: 20
Joined: Wed May 02, 2012 12:05 pm

Re: tab rows swap on click

Postby jdbruijn » Wed Apr 17, 2013 8:59 am

Another option is to use buttons instead of the tabs. That way you have full control on how and where you display them.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: tab rows swap on click

Postby Harjo » Wed Apr 17, 2013 9:04 am

All good suggestions, but I agree with dfrazier!

The tab's should just stay!

+1, create a ticket and I will vote!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: tab rows swap on click

Postby dfrazier » Wed Apr 17, 2013 2:18 pm

lopamudram wrote:If your users are ok with scrolling tabs then there is a property "scrollTabs" for TabPanel if set to true will allow the tabs to stay on a single line and you can scroll them from left to right.

Hope this helps.

Lopamudra
http://www.mindfiresolutions.com/

I did try that, but it had no effect in webclient.

The button suggestion could work as a workaround, but would require significant refactoring. I will enter a ticket to allow this tab behavior to be changed.
This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth

Re: tab rows swap on click

Postby dfrazier » Wed Apr 17, 2013 2:31 pm

This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth

Re: tab rows swap on click

Postby Harjo » Wed Apr 17, 2013 2:50 pm

voted!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: tab rows swap on click

Postby lopamudram » Wed Apr 17, 2013 3:46 pm

+1, Voted!
lopamudram
 
Posts: 20
Joined: Wed May 02, 2012 12:05 pm

Re: tab rows swap on click

Postby Thomas Parry » Thu Apr 18, 2013 10:20 pm

I had a quick look at the Java tab panels and it seems that if the Servoy tab panel is based on the Java version then there may not be any way to change the behaviour. Using the Java Fx tabs with its associated layout is a possibility in future but it too seems not to have that feature yet either.
Just my opinion, but I would not wait for any enhancement soon!
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: tab rows swap on click

Postby dfrazier » Mon Apr 29, 2013 5:37 pm

Thomas Parry wrote:I had a quick look at the Java tab panels and it seems that if the Servoy tab panel is based on the Java version then there may not be any way to change the behaviour. Using the Java Fx tabs with its associated layout is a possibility in future but it too seems not to have that feature yet either.
Just my opinion, but I would not wait for any enhancement soon!

I was afraid something like that might be the case.

My defect writeup got a "won't fix", so... so much for that.

I do not like the way tabs jump around, and I never have (in any program). I know most every program does it like this, but I still do not like it. I guess I will just need to quit using tabs.
This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth

Re: tab rows swap on click

Postby david » Tue Apr 30, 2013 3:53 pm

Multiple rows of tabs (also scrolling tabs) is bad UI design 101. A simple improvement is to use a combobox as your tab controller in tight situations.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests