From caaebd960883e9c04c0923a09e635880f6bb5434 Mon Sep 17 00:00:00 2001 From: cnmcdee Date: Tue, 1 Dec 2026 03:05:58 +0000 Subject: [PATCH] Phase 4: rename tooltip-text display to Tooltip (was a second Hint row) --- lightgui/props.py | 2 +- tools/gen_props.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lightgui/props.py b/lightgui/props.py index 3cd2d31..a6b892c 100644 --- a/lightgui/props.py +++ b/lightgui/props.py @@ -45,7 +45,7 @@ GENERIC_PROPS = ( PropDef("border-width", "Int", "0", 0, 100, (), (), "Border.Width", False), PropDef("border-color", "Color", "", 0, 0, (), (), "Border.Color", False), PropDef("border-radius", "Int", "0", 0, 1000, (), (), "Border.Radius", False), - PropDef("tooltip-text", "Str", "", 0, 0, (), (), "Hint", True), + PropDef("tooltip-text", "Str", "", 0, 0, (), (), "Tooltip", True), PropDef("enabled", "Bool", "true", 0, 0, (), (), "Enabled", False), PropDef("visible", "Bool", "true", 0, 0, (), (), "Visible", False), PropDef("font-name", "Str", "", 0, 0, (), (), "Font.Name", False), diff --git a/tools/gen_props.py b/tools/gen_props.py index 81e8198..6d74332 100644 --- a/tools/gen_props.py +++ b/tools/gen_props.py @@ -141,7 +141,7 @@ DISPLAY = { "font-strikeout": "Font.Style.StrikeOut", "border-width": "Border.Width", "border-color": "Border.Color", "border-radius": "Border.Radius", - "tooltip-text": "Hint", "hint": "Hint", "show-hint": "ShowHint", + "tooltip-text": "Tooltip", "hint": "Hint", "show-hint": "ShowHint", "cursor": "Cursor", "tab-order": "TabOrder", "tab-stop": "TabStop", "min-width": "Constraints.MinWidth", "min-height": "Constraints.MinHeight",