Page 1 of 1
Text toolbar button width doesn't reset
Posted: 09 Feb 2022 20:47
by LittleBiG
A custom toolbar button as a text button keeps its width even after stop being a text button. (like after pressing the "Clear" button)
Re: Text toolbar button width doesn't reset
Posted: 10 Feb 2022 04:03
by jupe
Also, currently it seems that unless you have the icon field set as well as the Name field that the text isn't shown.
Re: Text toolbar button width doesn't reset
Posted: 10 Feb 2022 11:06
by admin
Should be fixed soon.
Re: Text toolbar button width doesn't reset
Posted: 10 Feb 2022 17:38
by autocart
jupe wrote: ↑10 Feb 2022 04:03
Also, currently it seems that unless you have the icon field set as well as the Name field that the text isn't shown.
Was not able to reproduce, neither before nor now.
LittleBiG wrote: ↑09 Feb 2022 20:47
A custom toolbar button as a text button keeps its width even after stop being a text button. (like after pressing the "Clear" button)
This is still true.
Re: Text toolbar button width doesn't reset
Posted: 10 Feb 2022 19:31
by admin
Yep, fix comes.
Re: Text toolbar button width doesn't reset
Posted: 11 Feb 2022 04:52
by jupe
autocart wrote: ↑10 Feb 2022 17:38
Was not able to reproduce, neither before nor now.
I have no idea what/how/why you were testing (my report) in .0106, but what I do know is that you wouldn't be able to reproduce it now, because it was fixed in:
v22.80.0108 - 2022-02-10 13:20
! Custom Toolbar Buttons | Text: Drawing meltdown when icon was not defined. Fixed.
@Don: Confirmed fixed.
But I can't confirm (in .0108) the topic title, ie. the width/size reset after pressing clear still doesn't seem to work for Text buttons, but this seems to already be confirmed and apparently you've fixed it in the next (as yet unreleased) beta anyway.
Re: Text toolbar button width doesn't reset
Posted: 11 Feb 2022 08:53
by admin
In the meantime I found another little bug concerning width change in buttons. Fix coming.
Re: Text toolbar button width doesn't reset
Posted: 11 Feb 2022 15:27
by autocart
The following button definition still results in a "too long button" bug:
Code: Select all
Snip: CTB 1
XYplorer 22.80.0109, 11.02.2022 15:23:58
Action
NewUserButton
Name
text:reallylongtestlabel
Icon
C:\program files
ScriptL
echo "t";
ScriptR
ScriptM
FireClick
0
EDIT:
And this following CTB results in a too short button (button shorter than icon):
Code: Select all
Snip: CTB 1
XYplorer 22.80.0109, 11.02.2022 15:23:58
Action
NewUserButton
Name
text:t
Icon
C:\program files
ScriptL
echo "t";
ScriptR
ScriptM
FireClick
0
For both: Despite the fact, that with text:... no icon should be shown at all, right?
Re: Text toolbar button width doesn't reset
Posted: 11 Feb 2022 18:24
by admin
Yep, fixed in next beta.
