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. When set to a positive value, enforces a fixed height regardless of content. When set to 0, height enforcement is disabled and the view will size naturally. Default: 48 pixels to match template standard sizing. |
fixed_icon_size | Property | Fixed icon size for consistent icon dimensions across all entry views. When set to a positive value, enforces both width and height of icon TextureRect. When set to 0, icon sizing is not enforced and will use scene file settings. Default: 40 pixels to match standard icon sizing. |
set_locked | Method | |
apply_lock_visuals | Method |