Skip to content

Pqant/fix vertical support#17

Open
pqant wants to merge 8 commits intoDrummerSi:masterfrom
pqant:pqant/fix-vertical-support
Open

Pqant/fix vertical support#17
pqant wants to merge 8 commits intoDrummerSi:masterfrom
pqant:pqant/fix-vertical-support

Conversation

@pqant
Copy link

@pqant pqant commented Nov 7, 2025

Description:
This pull request introduces support for vertical taskbars (Left/Right positions) in addition to the existing horizontal layout. Key changes include:

Implemented TaskbarHelper class to detect taskbar position using Windows API.
Updated FormSplitter logic to adjust icon and size based on taskbar orientation.
Added new icon (separator_horizontal.ico) for vertical taskbars.
Refactored project structure and upgraded target framework to net9.0.
Updated README with installation instructions and clarified vertical/horizontal support.

Why:
Enhances usability for users who prefer vertical taskbars, ensuring consistent behavior across all taskbar orientations.

pqant added 8 commits November 7, 2025 06:50
Introduced support for vertical taskbars, allowing the separator to adapt to both horizontal and vertical orientations.

- Added `TaskbarHelper.cs` to detect taskbar position using Windows API.
- Updated `FormSplitter.cs` to dynamically adjust form dimensions and load appropriate icons (`separator_horizontal.ico` or `separator.ico`) based on taskbar orientation.
- Added `separator_horizontal.ico` for vertical taskbars and updated `Splitter.csproj` to include it.
- Enhanced shortcut creation in `MainForm.cs` to select icons dynamically and ensure `icons` folder is copied.
- Documented changes in `TASK.MD` and updated `readme.md` to highlight new features.
- Updated `TaskSplitter11.csproj` to use `WindowsShortcutFactory` v1.2.0.
- Removed `Installer` project reference from the solution.
- Added extensive debug logging and error handling for taskbar detection and icon loading.
- Updated Visual Studio version in the solution file to `17.4.33110.190`.

These changes ensure seamless functionality for both horizontal and vertical taskbar orientations.
Removed unused fields in DropShadow.cs to simplify the codebase.
Updated ShellExecute method in MainForm.cs to use nullable
reference types and improved clarity with named arguments.

Upgraded the project to .NET 9.0 with Windows 7.0 compatibility
in TaskSplitter11.csproj. Added StartupObject property to
explicitly define the application's entry point.
The "About" section was revised for clarity and now includes
an image (`taskbar-split.png`) to enhance the visual
representation. The "Copyright" section was cleaned up,
removing redundant images and clarifying license details.

A new "Installation" section was added with a direct link to
the GitHub releases page, making it easier for users to
download the latest version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant