Comments (5)
All page names are available as internal variables like $(internal:page_number_1_name). You can replace the default page name button with a regular button and style it to your liking. Does that solve your problem?
from companion.
Perhaps we should look into whether we should remove these special button types, and turn them into some builtin 'presets' instead.
I suspect that making the page up and down buttons draw the same won't be possible, but the page name button seems much more doable
from companion.
It needs some internal changes, to expand the availability of the $(this:page)
variables, as well as adding a new $(this:page_name)
variable, then it is entirely possible to match the existing behavior of the page number button:
I suspect that going forward we should make the decision between the showing the page name, or the page number be a manual choice, which will remove the need to use a feedback to do that here.
In fact this may be desirable soon, as the changes in the experimental builds do nudge users to set page names more
Based on how this was done, maybe the page up and down buttons can be achieved too. I had to use a png for the yellow 'page' text, the same would work for page up and down. The symbols to use on the buttons could be handled via a couple of new internal variables
from companion.
Seems I have to hurry up with the layers for button graphics. Then we can replicate the page button style exactly with a regular button and make all the properties available for customisation.
from companion.
@dnmeid yeah that sounds good. I'm not in a rush to change this, it is possible to make this custom button manually after all.
I ended up pushing the changes so that internal actions, feedbacks and button text can use $(this:page)
and related variables, so the workaround version can be written once and copied to pages that want it without reconfiguring.
from companion.
Related Issues (20)
- [BUG] Companion Trigger based on the "Time of Day" event not working HOT 5
- Settings page instructions update for RossTalk
- [BUG] Requires Administrator rights on windows 10 HOT 1
- [BUG] Elgato Stream Deck connection drops
- Mass Editing of Buttons HOT 1
- Better Examples in the Variable Documentation
- [BUG] Error "e.slice is not a function" when creating action HOT 1
- 24.03.14 17:50:30 Instance/Modules: Error loading module from "D:\ssh_woker\com-kommander\companion-module-kommander": Error: Manifest incorrectly references template module 'companion-module-your-module-name'[BUG] HOT 1
- Conditionalise "Use another button style" HOT 1
- Start ssh from Companion Pi[BUG] HOT 3
- Variable for position of 'this button' HOT 3
- SSDP Discovery Helper HOT 3
- Feature Request: Add `GET` portion to new HTTP api HOT 2
- Move "variables" to top level HOT 2
- log file management via web browser
- Improve variable naming consistency HOT 3
- Allow changing of browser page/tab title HOT 1
- RAW HEX UDP/TCP command HOT 3
- [Request] Make entries in connection list fixed height HOT 1
- [BUG] pages dont load on iOS 12.5.7 HOT 1
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 companion.