ComponentPalette settings: Button "Restore defaults" may be hidden when translation of "Add..." is too wide and form too narrow.
- Lazarus/FPC Version: all
- Operating System: tested on Windows, but others should be affected too
- CPU / Bitness: any
What happens
All frames inserted in the "Tools" > "Options" form must adjust their controls so that they fit into the bounds given by the form. When the user changes the width of the form to the page he is seeing currently, the contents of other pages may be modified such that parts are not visible any more when he revisits this page some time later.
This happens with the page "Component palette". It contains the two buttons "Add" and "Restore defaults". When in some translations the button "Add" turns out to be rather wide, such as in German ("Hinzufügen ..."), and when the width of the form has been reduced the "Restore defaults" button may have moved out of the bounds of the container and thus not be visible any more.
What did you expect
The "Restore defaults" button should always be visible. Ideally it should be displayed below the "Add" button if the width of the parent is too small.
Steps to reproduce
Switch the IDE to German. Open "Werkzeuge" > "Optionen" > "Umgebung" > "Komponentenpalette". Reduce the width of the form --> the "Vorgaben wiederherst." button moves out of the right side of "Seiten" groupbox and eventually is not visible any more.