Shared base for single-row selection/palette entry views. [PlaceableView] and [TerrainPaletteEntryView] are the same widget with different payloads: an HBox row with an icon and a label, click/hover interaction, and enforced view height + icon size. The sizing exports, the wired child refs, and the interaction/sizing routines were identical copies in both; this base is their one home. Subclasses own their payload, their signal, and what a click means.
Source: addons/grid_placement/ui/selection_entry_view_base.gd
Syntax
class SelectionEntryViewBase extends PanelContainerMembers
| Name | Kind | Summary |
|---|---|---|
fixed_view_height | Property | Fixed height for entry views to maintain consistent sizing.[br][br] When set to a positive value, enforces a fixed height regardless of content.[br] When set to 0, height enforcement is disabled and the view will size naturally.[br] Default: 48 pixels to match template standard sizing. |
fixed_icon_size | Property | Fixed icon size for consistent icon dimensions across all entry views.[br][br] When set to a positive value, enforces both width and height of icon TextureRect.[br] When set to 0, icon sizing is not enforced and will use scene file settings.[br] Default: 40 pixels to match standard icon sizing. |