add keyboard shortcuts to panel collapse/expand tooltips

This commit is contained in:
rolux 2012-04-23 08:38:43 +00:00
parent cc3f2934bd
commit 970ebe506f
3 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,8 @@ pandora.ui.contentPanel = function() {
resizable: true,
resize: [96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256],
size: pandora.user.ui.filtersSize,
tooltip: 'filters'
tooltip: 'filters <span class="OxBright">'
+ Ox.SYMBOLS.SHIFT + 'F</span>'
},
{
element: pandora.$ui.list = pandora.ui.list()
@ -25,7 +26,9 @@ pandora.ui.contentPanel = function() {
collapsible: true,
element: pandora.$ui.browser = pandora.ui.browser(),
size: 112 + Ox.UI.SCROLLBAR_SIZE,
tooltip: pandora.site.itemName.singular.toLowerCase() + ' browser'
tooltip: pandora.site.itemName.singular.toLowerCase()
+ ' browser <span class="OxBright">'
+ Ox.SYMBOLS.SHIFT + 'B</span>'
},
{
element: pandora.$ui.item = pandora.ui.item()

View file

@ -15,7 +15,8 @@ pandora.ui.leftPanel = function() {
collapsible: true,
element: pandora.$ui.info = pandora.ui.info(),
size: pandora.getInfoHeight(true),
tooltip: 'info'
tooltip: 'info <span class="OxBright">'
+ Ox.SYMBOLS.SHIFT + 'I</span>'
}
],
id: 'leftPanel',

View file

@ -10,7 +10,8 @@ pandora.ui.mainPanel = function() {
resizable: true,
resize: [192, 256, 320, 384],
size: pandora.user.ui.sidebarSize,
tooltip: 'sidebar'
tooltip: 'sidebar <span class="OxBright">'
+ Ox.SYMBOLS.SHIFT + 'S</span>'
},
{
element: pandora.$ui.rightPanel = pandora.ui.rightPanel()