Fixed the shortcut key of star dust to avoid shortcut key collision. Changed the appraisal to numbered items so that it work with keyboard shortcut with numbers, not in favor of the red team.

This commit is contained in:
依瑪貓 2016-11-29 06:34:14 +08:00
parent 059e239bab
commit 0bc16166bc

View File

@ -109,7 +109,7 @@ Function fnAskParam As aFindIVParam
oTextModel.setPropertyValue ("PositionY", 20) oTextModel.setPropertyValue ("PositionY", 20)
oTextModel.setPropertyValue ("Height", 12) oTextModel.setPropertyValue ("Height", 12)
oTextModel.setPropertyValue ("Width", 30) oTextModel.setPropertyValue ("Width", 30)
oTextModel.setPropertyValue ("Label", "~Star dust:") oTextModel.setPropertyValue ("Label", "Star ~dust:")
oDialogModel.insertByName ("txtStarDust", oTextModel) oDialogModel.insertByName ("txtStarDust", oTextModel)
' Adds the star dust field. ' Adds the star dust field.
@ -184,10 +184,10 @@ Function fnAskParam As aFindIVParam
' Adds the first appraisal list. ' Adds the first appraisal list.
mListItems = Array ( _ mListItems = Array ( _
"Amazed me/wonder/best", _ "1. Amazed me/wonder/best", _
"Strong/caught my attention", _ "2. Strong/caught my attention", _
"Decent/above average", _ "3. Decent/above average", _
"Not great/not make headway/has room") "4. Not great/not make headway/has room")
oListModel = oDialogModel.createInstance ( _ oListModel = oDialogModel.createInstance ( _
"com.sun.star.awt.UnoControlListBoxModel") "com.sun.star.awt.UnoControlListBoxModel")
oListModel.setPropertyValue ("PositionX", 10) oListModel.setPropertyValue ("PositionX", 10)
@ -240,10 +240,10 @@ Function fnAskParam As aFindIVParam
' Adds the second appraisal list. ' Adds the second appraisal list.
mListItems = Array ( _ mListItems = Array ( _
"WOW/incredible/stats are best", _ "1. WOW/incredible/stats are best", _
"Excellent/impressed/impressive", _ "2. Excellent/impressed/impressive", _
"Get the job done/noticeable/some good stats", _ "3. Get the job done/noticeable/some good stats", _
"No greatness/not out of the norm/kinda basic") "4. No greatness/not out of the norm/kinda basic")
oListModel = oDialogModel.createInstance ( _ oListModel = oDialogModel.createInstance ( _
"com.sun.star.awt.UnoControlListBoxModel") "com.sun.star.awt.UnoControlListBoxModel")
oListModel.setPropertyValue ("PositionX", 10) oListModel.setPropertyValue ("PositionX", 10)