Change look of tabpanel tabs

Questions and answers for designing and implementing forms in Servoy

Change look of tabpanel tabs

Postby deezzub » Tue Nov 12, 2013 12:59 pm

How is it possible to change the look of tabpanel tabs? I don't mean the forms in a tab, but the tab I have to click, if I want to switch from a form in tab to another form in a tab.
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany

Re: Change look of tabpanel tabs

Postby david » Tue Nov 12, 2013 8:24 pm

1. smart client controlled by L&F
2. web client there is a servoyforge project (https://www.servoyforge.net/projects/servoy-default-css) that modifies via css
3. or you can write your own tab controllers and style them anyway you want!

tab controllers.png
tab controllers.png (218.47 KiB) Viewed 3550 times
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.

Re: Change look of tabpanel tabs

Postby deezzub » Tue Nov 12, 2013 9:54 pm

david wrote:1. smart client controlled by L&F
2. web client there is a servoyforge project (https://www.servoyforge.net/projects/servoy-default-css) that modifies via css
3. or you can write your own tab controllers and style them anyway you want!


Why is it necessary to write an own tab controller and how?
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany

Re: Change look of tabpanel tabs

Postby david » Tue Nov 12, 2013 10:31 pm

deezzub wrote:Why is it necessary to write an own tab controller and how?


How: http://www.servoymagazine.com/home/2004 ... ll_yo.html. Old article and code (we now have our own tab controller api's) but the general concept hasn't changed.

Why? Anything can control a tab panel. In the screenshot above I circled six tab controllers and missed a 7th and 8th (literally). They all look different and only one looks like a normal tab controller. Now imagine a UI with eight tab controllers all looking the same and compare. There's your reason.
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 Forms

Who is online

Users browsing this forum: No registered users and 11 guests