You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "André Thieme (JIRA)" <ji...@apache.org> on 2010/07/09 14:15:50 UTC

[jira] Created: (PIVOT-564) Configurable Tab text orientation

Configurable Tab text orientation
---------------------------------

                 Key: PIVOT-564
                 URL: https://issues.apache.org/jira/browse/PIVOT-564
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
            Reporter: André Thieme
             Fix For: 2.0


When displaying tabs on the left or right side (vs. top/bottom), then the tab text is
turned 90 degrees (counter-) clockwise.
It would be nice if this were configurable, so that the text "Foobar" appears as "F\no\no\nb\na\nr", i.e.:
F
o
o
b
a
r


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-564) Configurable Tab text orientation

Posted by "André Thieme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887196#action_12887196 ] 

André Thieme commented on PIVOT-564:
------------------------------------

Today I thought about it... the idea from the description can also be achieved by making a tab not
displaying text, but instead a little graphics that displays the text in the way I want it to appear,
for example as suggested in the issue description.

The suggestion 2 is not uncommon, so we all have seen it. For example here in Jira, when we look
to the left hand side. They are not tabs in the classical sense, but equivalent.
Anyway, PIVOT-570 is pointing into a nice direction, and with being able to put a graphics into tabs
vs. text, my idea 1 can also be easily solved.

> Configurable Tab text orientation
> ---------------------------------
>
>                 Key: PIVOT-564
>                 URL: https://issues.apache.org/jira/browse/PIVOT-564
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>            Priority: Minor
>
> When displaying tabs on the left or right side (vs. top/bottom), then the tab text is
> turned 90 degrees (counter-) clockwise.
> It would be nice if this were configurable, so that the text "Foobar" appears as "F\no\no\nb\na\nr", i.e.:
> F
> o
> o
> b
> a
> r

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-564) Configurable Tab text orientation

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887199#action_12887199 ] 

Greg Brown commented on PIVOT-564:
----------------------------------

PIVOT-570 will certainly make it easier for you to accomplish this, but you can actually include an image in a tab button already - the "icon" property expects an instance of org.apache.pivot.wtk.media.Image. Pivot provides two concrete implementations of this class - Picture (bitmap) and Drawing (vector), but you can provide your own custom implementation as well.




> Configurable Tab text orientation
> ---------------------------------
>
>                 Key: PIVOT-564
>                 URL: https://issues.apache.org/jira/browse/PIVOT-564
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>            Priority: Minor
>
> When displaying tabs on the left or right side (vs. top/bottom), then the tab text is
> turned 90 degrees (counter-) clockwise.
> It would be nice if this were configurable, so that the text "Foobar" appears as "F\no\no\nb\na\nr", i.e.:
> F
> o
> o
> b
> a
> r

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-564) Configurable Tab text orientation

Posted by "André Thieme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886699#action_12886699 ] 

André Thieme commented on PIVOT-564:
------------------------------------

Another suggestion/request. When tabs are displayed on the left side,
it would be nice if it were configurable to let their text display from left to
right. For windows xp users: as if you move your taskbar to the left/right
side of the screen and open many programs.
In the kitchen sink demo this variation "Vertical Tabs" would look like this:

Bell
Clock
House

While in my issue description I suggest one solution that would let the
tabs consume the same amount of vertical space, this comment's suggestion
implies typically a reduced vertical space consumption.

> Configurable Tab text orientation
> ---------------------------------
>
>                 Key: PIVOT-564
>                 URL: https://issues.apache.org/jira/browse/PIVOT-564
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>             Fix For: 2.0
>
>
> When displaying tabs on the left or right side (vs. top/bottom), then the tab text is
> turned 90 degrees (counter-) clockwise.
> It would be nice if this were configurable, so that the text "Foobar" appears as "F\no\no\nb\na\nr", i.e.:
> F
> o
> o
> b
> a
> r

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-564) Configurable Tab text orientation

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-564:
-----------------------------

    Fix Version/s:     (was: 2.0)
         Priority: Minor  (was: Major)

I think the first suggestion (wrapping every letter) would look strange. I have never seen a UI that does this.

I have seen UIs that use the second approach, but they tend to waste a lot of screen real estate and (IMO) don't look very good. So I don't personally think that either of these changes would be a good idea.


> Configurable Tab text orientation
> ---------------------------------
>
>                 Key: PIVOT-564
>                 URL: https://issues.apache.org/jira/browse/PIVOT-564
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>            Priority: Minor
>
> When displaying tabs on the left or right side (vs. top/bottom), then the tab text is
> turned 90 degrees (counter-) clockwise.
> It would be nice if this were configurable, so that the text "Foobar" appears as "F\no\no\nb\na\nr", i.e.:
> F
> o
> o
> b
> a
> r

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.