All sections - alphabetical | grouped | visual
- Description: checkboxes in dialogs, toolbars and webpages
- Version: at least since 9.0 in skin.ini, at least since 9.0 implemented
- Visible: eg in the Tools→ Preferences→ Advanced dialog / eg in the Appearance→ Buttons dialog (drag and drop to any toolbar) / eg on MyOpera Forums- Advanced search
- Related: Radio button skin: radio buttons in dialogs and webpages, 9.0›
- related is also the `Checkmark =` entry in [Images]; checkboxes in menus, refers to the same icon file as the `Checkbox skin.selected`, see also the note 1 downwards the page.
- Padding: -
- Margin: -
- Spacing: -
- Color: ✔
- Colorize: ✔
- Border/Border color: ✔
- Text color: -
- Text bold: -
- Text underline: -
- Text shadow/Text shadow color: -
- Text zoom: -
- Blend: -
- Child: ✔
- Clone: ✔
- If no image / no color in the section, you see: Nothing, resp. the bg behind it
Important: Never change the `Type = Box` entry and never change the `Width = 16` and `Height = 14` entries - otherwise the checkboxes may disappear!
About Section entries
About Defaults
- Section-types: -
- Section-states: .hover, .disabled, .selected, .pressed
About Section types and states
-
If no section, Info-Version 3 and
- Options-Fallback foreground 1, you see: [Checkbox Skin] from standard-skin
- Options-Fallback foreground 0, you see: Nothing - If no section, Info-Version 2 and
- Options-Fallback foreground 1, you see: [Checkbox Skin] from standard-skin
- Options-Fallback foreground 0, you see: Nothing
About Fallback
- Note 1: the `Checkmark = checkbox/selected.png` entry in [Images] (checkboxes in menus) refers to the same icon file as the `Checkbox skin.selected`, so you should set for both calls the same colorize behaviour (explicitly 1 for both or explicitly 0 for both) - otherwise it can be that unselected and selected have a different colorize behaviour like in the standard-skin for Opera 10 (done since Opera 10.10 !)
- Note 2:
at first glance the behaviour of the checkbox skin seems to be completely different than described in `Section entries - Width/Height` (defined as box type, but an icon size change to 160% have unsightly effects at least in dialogs), but there is a simple reason: the image-files `checkbox/unselected.png`/`checkbox/selected.png` are called also from the entries `Checkmark`/`Checkmark.selected` in [Images] (for menus) and the call there is the first call - so the image-type stays always `Image` from [Images], at least the image-type as well as width/height you define in the original checkbox-sections are useless then! But there are 2 pointers to a solution:
- Define the checkmark entries in [Images] as not scalable too (Checkmark = checkbox/unselected.png,1,,,,,,,,,0 and Checkmark.selected = checkbox/selected.png,1,,,,,,,,,0) - then an icon size change have never effect
- Define own copies of the .png`s for the checkmark entries in [Images] - then the checkboxes appears unscalable by icon size on toolbars and dialogs, but scalable in menus like the other icons there (my favorite)
The Radiobutton sections together with the `Bullet` entry in [Images] have the same problem, but here the radiobutton section is first called - also here I suggest to define an own/separate copy of the .png for the bullet-entry. - Note 3: checkboxes and radiobuttons on toolbars or dialogs have always the text color from the toolbar skin/dialog skin behind it if defined (if not defined, the text color comes from the superior skin and so on - at the end you see the window text color from the OS). Concerns also text colors for state-sections like .hover, .selected, .pressed and so on. So you can have for instance on the mainbar: text colors for normal buttons from the `Mainbar button skin`, but different text colors for checkboxes/radiobuttons from the `Mainbar skin` (or text colors for all the things from the `Mainbar skin` if not defined in the `Mainbar button skin`). Or with other words: if you really like to have the same text colors for buttons and checkboxes/radiobuttons, you have to define the text colors in the `Mainbar skin` (also for state-sections) but not in the `Mainbar button skin`.
More
Section types and states
Section entries
Defaults
Boxes | Images | Notation
Special sections Info, Options and Generic
Special headers
Fallback
General rules
Version numbers in this guide
Latest changes in this guide
Credits and links
Skin changelogs
-

