grass icon indicating copy to clipboard operation
grass copied to clipboard

wxGUI: Fix behaviour of top Single-Window GUI toolbars

Open lindakarlovska opened this issue 2 years ago • 0 comments

Fixes the non-standard behavior of top Single-Window GUI toolbars.

Bug:

  • bigger icons when undocking and docking the toolbar (takes into consideration that one does not drop a toolbar during that process) bigger icons after redocking all toolbars were resized

  • no toolbar name displayed after undocking no-name

After fix: Now it inherits from AuiToolbar. This approach corresponds to the usage of aui agw library which is used for drawing the main window frame.

After conversion to AuiToolbar:

  • sizes of toolbars are still the same toolbar

  • toolbar name is displayed after undock worrkspace_toolbar

Potentially this PR could also fix some other related bugs (probably different depending on OS) caused by inheriting from the inappropriate wx.Toolbar class.

lindakarlovska avatar Sep 02 '22 16:09 lindakarlovska