Metadata
- Source
- FLUID-4339
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Won't Fix
- Assignee
- Michelle D'Souza
- Reporter
- Cindy Li
- Created
2011-07-13T13:28:35.992-0400 - Updated
2024-07-22T14:04:23.794-0400 - Versions
-
- 1.4
- 1.5
- Fixed Versions
- N/A
- Component
-
- Prefs Framework
- UIEnhancer
Description
To produce:
1. go to http://build.fluidproject.org/infusion/demos/uiOptions/FatPanelUIOptions/html/uiOptions.html
2. click "show display preferences" to open the ui options fat panel
3. click on drop down list box for "text style" setting. The options in the drop down should be styled in the corresponding font but they are not
4. the same issue with drop down list box for "colour and contrast" setting
Comments
-
Cindy Li commented
2011-07-13T13:40:18.448-0400 The css classes that are used to style drop down list options are from fluid.uiEnhancer.options.classnameMap, which is supplied thru demands blocks @ https://github.com/fluid-project/infusion/blob/master/src/webapp/components/uiOptions/js/UIOptions.js#L228-244
Fat panel has its own demands blocks to overwrite the ones above @ https://github.com/fluid-project/infusion/blob/master/src/webapp/components/uiOptions/html/FatPanelUIOptionsFrame.html#L74-90, which is a spot worth to look at to ensure:
1. Th demands blocks are resolved successfully
2. The values in classnameMap passed in from the demands blocks are expected. -
Harris Wong commented
2011-07-21T17:05:49.992-0400 Seems like FatPanelUIOptions.js line 114 resets the text style. It calls UIEnhancer.js line 152~154 to update the model to the settingsStore. Could it be that the UpdateModel is not applying settings correctly?
-
Justin Obara commented
2015-06-09T14:13:04.671-0400 "colour and contrast" no longer uses a drop down.
-
Justin Obara commented
2024-07-22T14:04:23.794-0400 There is little to no support for styling the options of a select element.