summaryrefslogtreecommitdiffstats
path: root/doc/classes/OptionButton.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-1/+1
|
* Use bound theme properties for documentationYuri Sizov2023-09-261-61/+0
|
* Fix various typos in classrefHaoyu Qiu2023-08-221-2/+0
|
* Merge pull request #80203 from WhalesState/Dev2Rémi Verschelde2023-08-171-0/+7
|\ | | | | | | Add shortcut handling to `OptionButton`
| * Add shortcut handling to OptionButtonMounir Tohami2023-08-031-0/+7
| |
* | Further separate icon from text of buttons in both editor and default themesMichael Alexsander2023-08-071-1/+1
|/
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Overhaul the top sections of the class reference (GUI classes)VolTer2023-05-281-2/+4
|
* Clarify range of various ID values are 32 bitNinni Pipping2023-05-191-0/+1
|
* Merge pull request #72028 from kilojool/option_button_reselectionRémi Verschelde2023-04-031-0/+4
|\ | | | | | | OptionButton: allow reselection of selected item
| * OptionButton: allow reselection of selected itemkilojool2023-01-251-0/+4
| |
* | Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
|/ | | | Can't stop, won't stop, they said, huh?
* Add missing OptionButton method descriptionsHana2022-12-281-0/+4
|
* Document MDSF font outlines may require `msdf_pixel_range` adjustmentsHugo Locurcio2022-12-191-0/+1
|
* Style: Misc docs and comment style and language fixesRémi Verschelde2022-11-021-1/+1
| | | | | | | | | | - Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
* Improve MenuButton and OptionButtonEricEzaM2022-10-031-0/+6
| | | | | * MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs) * MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
* Merge pull request #64218 from Rindbee/fix-button-minimum-size-calculationRémi Verschelde2022-08-221-1/+1
|\
| * Fix case where `h_separation` might not work in `Button`Rindbee2022-08-121-1/+1
| | | | | | | | | | | | This patch mainly solves two things: 1. The typo of `h_separation`; 2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
* | [doc] Use "param" instead of "code" to refer to parameters (5)Andy Maloney2022-08-151-15/+15
|/
* Add missing properties to default themekobewi2022-08-111-0/+6
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-31/+31
|
* Add fit_to_longest_item to OptionButtonkobewi2022-08-021-0/+4
|
* Rename theme properties to include underscoresFireForge2022-04-231-1/+1
| | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* Implement Animation Librariesreduz2022-04-111-1/+19
| | | | | | | | | | | | * Instead of containing single animations, AnimationPlayer now contains libraries. * Libraries, in turn, contain the animations. This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models. Missing (will be done on separate PRs): * Make it possible to import scenes (dae/fbx/gltf) as animation libraries. * Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
* Hide text and icon properties in OptionButtonkobewi2022-03-191-0/+1
|
* Add item tooltip access to OptionButtonHaoyu Qiu2022-03-171-0/+15
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Make various improvements to OptionButtoneikobear2022-01-281-1/+2
| | | | | | - Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor. - Reset OptionButton selection to -1 when the selected item has been removed. - Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
* Improve the default project themeHugo Locurcio2022-01-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
* Implement property array for OptionButtonkobewi2021-12-211-6/+3
|
* Document that transparent StyleBoxes/textures should be used for UI focusHugo Locurcio2021-12-151-1/+1
|
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
|
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-3/+3
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov2021-12-011-24/+24
|
* Add focus font color to Button and derivativesYuri Sizov2021-10-261-0/+3
|
* Add warnings to methods that give access to internal nodesYuri Sizov2021-10-101-0/+1
|
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Add theme item descriptions to the online documentationYuri Sizov2021-08-041-20/+20
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-92/+46
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-5/+5
|
* [CTL] Add missing font outline drawing routines and theme constants.bruvzg2021-02-141-0/+6
|
* Change themes *_color_* to *_*_colorMarcel Admiraal2021-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
* [Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg2020-11-261-4/+19
| | | | CanvasItem, Theme and modified controls documentation.
* Reference the BaseButton class explicitly in button class documentationsHugo Locurcio2020-09-231-0/+1
| | | | | | Users are sometimes confused as to the `pressed` property not being visible in the Button class documentation. This is because `pressed` is defined in BaseButton.
* OptionButton.xml word order fixAndreas Gustafsson2020-08-291-1/+1
| | | | Change word order of 'Emitted the when...' into 'Emitted when the...'
* Fix OptionButton docs godotengine#36803Zak Grumbles2020-04-101-2/+2
| | | | | | * item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to 'index'. * Fix parameter name in ADD_SIGNAL callin code.
* doc: Sync classref with current sourceRémi Verschelde2020-02-121-4/+4
| | | | | | | | Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
* Completes doc for button classesHaoyu Qiu2020-02-051-0/+13
|
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|