Comments (2)
I think the general direction we're going in is:
- Create a 'TabBar' control that hosts the controls
- When it reaches a specific size (eg 80px) stop making controls smaller
- Create a second tab bar and add buttons to switch between the tab bars in order to get the same effect as in the image
from simpleclassictheme.taskbar.
Create a 'TabBar'
Unrelated to the issue, I think we need to come up with a name we use to call those taskbar buttons (maybe look around Windows dev docs to find out how they're called?)
When it reaches a specific size (eg 80px) stop making controls smaller
Probably something like
var maxButtonWidth = availableSpace / amountOfPrograms;
var actualButtonWidth = Math.Min(maxButtonWidth, 100/*pixels*/); // take default size or smaller
var doWrap = maxButtonWidth < 80/*pixels*/;
if (doWrap)
/* split list of programs into pages... */
Create a second tab bar
Could work, there are other approaches to take though, like resetting the displayed buttons or hiding/showing them (while locking UI updates to prevent flicker and unnecessary repaints).
from simpleclassictheme.taskbar.
Related Issues (20)
- Improve performance HOT 6
- SCT crashes on startup with file not being found HOT 5
- Backport Windows 7 taskbar extensions
- Add context menu for grouped programs HOT 1
- UWP apps have no app icon
- Memory leak HOT 2
- Developer version 2021.05.19 still crashes on startup HOT 3
- Improve themeing support HOT 1
- Implement scaling
- Improve stability
- Improve XP visual style rendering
- Tab for configuring what happens on mouse clicks HOT 1
- Prepare SCT Taskbar for 1.0.0
- Manually query processes
- Missing tooltips
- Improve collection-based UI
- Migrate to CsWin32
- Make tray only show up on one taskbar
- Quick Launch only shows 5 programs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simpleclassictheme.taskbar.