TToolBar doesn't resize properly
Original Reporter info from Mantis: dodi
-
Reporter name: Hans-Peter Diettrich
Original Reporter info from Mantis: dodi
- Reporter name: Hans-Peter Diettrich
Description:
These problems have been observed when a TToolBar is or should be resized:
- A wrapable toolbar doesn't change in Height when buttons wrap.
- ToolButtons can loose their (autosize) Width.
See Lazarus examples/dockmanager/toolbar/test1 demo project.
Additional information:
[1] Wrapable only affects the visibility of wrapped buttons, but seems not to adjust the Height of the toolbar, nor the Top of wrapped buttons.
[2] Happens randomly with the win32 widgetset, seems not to occur with gtk2.
See Lazarus examples/dockmanager/easytree/easydocking demo project, try docking and undocking a notebook. The notebook can be dragged by dragging its toolbar.
Possibly related issue: programmatically added buttons are added before existing buttons, should be after. I found no way to rearrange the buttons programmatically.
Mantis conversion info:
- Mantis ID: 14061
- Version: 0.9.27 (SVN)
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 20849 (#b6ed6bdc)
- Monitored by: » dodi (Hans-Peter Diettrich)
- Target version: 1.0.0
- LazTarget: 1.0