From 46d5ff9ca734adab73a57c1389b116c252fedb11 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 21 May 2025 13:24:39 +0900 Subject: [PATCH] Add improved handbook text about the panel button stacking behavior Signed-off-by: Darrell Anderson Signed-off-by: Michele Calgaro --- doc/kicker/index.docbook | 31 ++++++++++++++++++++++++------- kcontrol/kicker/positiontab.ui | 2 +- kicker/taskbar/taskbar.kcfg | 8 ++++---- 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/doc/kicker/index.docbook b/doc/kicker/index.docbook index 1692f8d8d..2249f928f 100644 --- a/doc/kicker/index.docbook +++ b/doc/kicker/index.docbook @@ -1019,14 +1019,31 @@ If there is no mark in the checkbox, then the panel is fixed to the length specified in this section. -The final section of this table is labeled -Size, and refers to the -height of the panel. The panel's size can be -Tiny, Small, +The final section of this dialog is labeled Size, +and refers to the height of the panel. The panel's size +can be Tiny, Small, Medium, Large or -Custom. If you choose -Custom mode, you can resize &kicker; by -specifying a height in the combobox. +Custom. Choosing Custom mode allows +resizing &kicker; by specifying a height in the combobox. The default +size for the predefined height Tiny +is 24 pixels, Small is 30 pixels, +Normal is 46 pixels, and Large is +58 pixels. + +There are additional hidden options. These hidden options are +configured in $TDEHOME/share/config/ktaskbarrc [General]. +The MinimumButtonHeight option is the +height where taskbar buttons stack into rows. The default +value is 18 pixels. To prevent the taskbar buttons from +stacking into rows, MinimumButtonHeight must defined +explicitly and be at least one pixel larger than the defined panel +height. + +A second hidden option is MaximumButtonWidth. +The default value is 200 pixels. This is the +width each taskbar button will use. To override the +default value the option must defined explicitly. The setting mostly affects +using a Display option with text. If you have multiple monitors, you can configure the panel for each screen entirely independently. If you are not sure which screen diff --git a/kcontrol/kicker/positiontab.ui b/kcontrol/kicker/positiontab.ui index 2786cedf5..fb3427b03 100644 --- a/kcontrol/kicker/positiontab.ui +++ b/kcontrol/kicker/positiontab.ui @@ -380,7 +380,7 @@ how it is positioned on the screen and how much of the screen it should use.Si&ze - This sets the size of the panel. + This sets the height of the panel. Tiny is 24 pixels high, Small is 30 pixels, Normal is 46 pixels, Large is 58 pixels. diff --git a/kicker/taskbar/taskbar.kcfg b/kicker/taskbar/taskbar.kcfg index 86ea32dca..0665470df 100644 --- a/kicker/taskbar/taskbar.kcfg +++ b/kicker/taskbar/taskbar.kcfg @@ -93,14 +93,14 @@ 200 50 500 - - The maximum width to which a taskbar item can expand. + + The maximum width each taskbar button will use. The default value is 200 pixels. The setting affects the Display options Text only and Icons and Text. 18 - + 1 - + The minimum height to trigger taskbar buttons to stack into rows. The default value is 18 pixels. To prevent the taskbar buttons from stacking into rows, MinimumButtonHeight must be at least one pixel larger than the defined panel height. false