Ext.Net.Desktop.TaskBar.Dock setting doesn't work
Found: Ext.NET 5.2.0 Ext.NET forum thread: StartMenu and Taskbar should display top instead of bottom
The client-side implementation of the desktop UX does not allow setting the taskbar's dock position and always docks the taskbar to the bottom.
This override tries to circumvent the issue:
Ext.define("gh1820", {
override: "Ext.ux.desktop.Desktop",
initComponent: function () {
var me = this,
retVal = me.callParent(arguments);
if (me.taskbarConfig.dock !== undefined && me.taskbarConfig.dock != "bottom") {
me.taskbar.setDock(me.taskbarConfig.dock);
}
}
});
Even with the override above, the algorithm it uses to position icons doesn't conform to the position the taskbar is, and icons are placed behind it when top or left-docked.
When right-docked, the "sliding panel" as implemented in the Desktop Overview example will also break and just sit above the taskbar when it was supposed to be hidden (in this case, the sliding panel should not be used with a right-docked taskbar anyway).
Editing the initComponent method so that the taskbar is never bound to the desktop's bbar config does not affect the behavior.