Changes

Jump to navigation Jump to search

GUI Themes/Specs

1,176 bytes added, 09:59, 16 April 2006
Update ToDo. Describe widget class properties
** get mock-up from Krest
** shadows under lists. We do not enable those because of missing scrollbar mock-up
** list highlight (greenish one) should be exactly width of the list. Now it is 2px narrower** more right padding in list contents on all edges
* PopUp widget (aka drop-down list)
** get mock-up from Krest
** less round corners
*** to do that we need to be able to define gfx for each widget class separately
** right text padding
** arrows to make it distinguishable from editable textboxes
** make it taller
** though it would be nice to leave current drawing style and select them via widget property
* Editable text widget
** add regular font. Now we have just the boldfix caret misaligning
** embossing (not shadow)
** less round corners
** less round corners
*** to do that we need to be able to define gfx for each widget class separately
** fix caret misaligning
* Button widget
** probably tame colors for buttons to match mock-ups
* .visible -- if set to 0, then widget is not drawn
* .align -- for text widgets defines text alignment (kTextAlignLeft, kTextAlignRight or kTextAlignCenter). Default is kTextAlignLeft
 
=== Widget class properties ===
Each widget class can be customized per-resolution. You need to specify their special properties.
 
==== ListWidget ====
This is widget with list of selectable items
ListWidget.leftPadding=7
ListWidget.rightPadding=7
ListWidget.topPadding=5
ListWidget.bottomPadding=5
ListWidget.hlLeftPadding=0
ListWidget.hlRightPadding=0
 
''leftPadding'', ''rightPadding'', ''topPadding'' and ''bottomPadding'' specify list contents (text) padding from widget endges. Default values are 0.
 
''hlLeftPadding'', ''hlRightPadding'' specify padding of selected text highlight, i.e. green bar in ''modern'' theme. Default values are 0.
 
==== PopUpWidget ====
This is drop-down list used to select one item out of several. In inactive state it displays only selected item.
PopUpWidget.leftPadding=7
PopUpWidget.rightPadding=7
 
''leftPadding'' and ''rightPadding'' specify list contents (text) padding from widget endges. Default values are 0.
=== Special variables ===

Navigation menu