<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Grid of buttons?]]></title><description><![CDATA[<p dir="auto">I'm testing GUI-O by trying to implement a user interface for a MIDI based percussion unit.</p>
<p dir="auto">I've already got working a UI to set and assign a MIDI instrument (drum pad), and also to an 8 instrument sequencer. I used the spinnable list widget here. It works OK, but it is a bit clunky and difficult to get the right sizing though.</p>
<p dir="auto">The 2nd part is a sequence editor, where on the x axis you have beats (usually quarter beats), and the y axis represents which instrument 'fires' during that beat. Ideally I'd like 16 beats (4 bars) by 8 instruments, so I imagined building 64 buttons on a grid and using the on pressed event to toggle whether or not an instrument plays on that beat.</p>
<p dir="auto">I initially tried to implement the button creation in some nested loops, but it takes an extremely long time to create and render the buttons (and I cut the time back by only doing 8 beats by 2 instruments to test if it would work).</p>
<p dir="auto">Do you have any better suggestions on how I could create this type of UI? Have a look at <a href="https://drumbit.app/" rel="nofollow ugc">https://drumbit.app/</a> for an example of the type of thing I am looking to do.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.gui-o.com/topic/47/grid-of-buttons</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 17:02:52 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/47.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2022 05:02:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Grid of buttons? on Sun, 27 Mar 2022 08:47:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a> drop down box looks to be easier to use than the spinnable list.<br />
grid of buttons also seems to work much faster than drawing each button individually. Just need to fine tune the size of each button and the colours, but I can set each button in the pattern initially, and also set individual buttons interactively.</p>
<p dir="auto">I'll also have to see if I can load my settings from a CSV file, so that I think might be the last thing to test out, but looking very feasible at the moment to complete what I wanted to do.</p>
]]></description><link>https://forum.gui-o.com/post/106</link><guid isPermaLink="true">https://forum.gui-o.com/post/106</guid><dc:creator><![CDATA[GrantA]]></dc:creator><pubDate>Sun, 27 Mar 2022 08:47:25 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Fri, 25 Mar 2022 10:07:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/25">@granta</a> you can also use drop-box widget <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.gui-o.com/post/105</link><guid isPermaLink="true">https://forum.gui-o.com/post/105</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Fri, 25 Mar 2022 10:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Fri, 25 Mar 2022 06:22:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a> I've just returned from vacation these last few weeks. The RECG widget looks like it should work, so I'll check it out in the next few days</p>
]]></description><link>https://forum.gui-o.com/post/104</link><guid isPermaLink="true">https://forum.gui-o.com/post/104</guid><dc:creator><![CDATA[GrantA]]></dc:creator><pubDate>Fri, 25 Mar 2022 06:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Sat, 12 Mar 2022 09:33:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/25">@granta</a> Hello,</p>
<p dir="auto">I have implemented rectangle grid widget (<strong>|RECG</strong>).</p>
<p dir="auto">Please see the latest manual (application must be updated to v0.12.2). I would appreciate some feedback on this.</p>
<p dir="auto">Best regards,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/93</link><guid isPermaLink="true">https://forum.gui-o.com/post/93</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sat, 12 Mar 2022 09:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Sat, 05 Mar 2022 07:30:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/25">@granta</a> Hello,</p>
<p dir="auto">I understand your predicament.</p>
<p dir="auto">But please understand that there are 32 different fully customizable widgets available in the application. There are also numerous hardware "objects" (RTC, GPS, senosors, etc...) available. A lot of work has been put into the application. And the DEMO version was fully unlocked - meaning there is no strong reason for a user to upgrade to PRO version and support further app development.</p>
<p dir="auto">Please also understand that I am a single developer and that the app development is currently a hobby for me.</p>
<p dir="auto">The DEMO version is meant to give the user a "taste" of any widget, i.e., how it behaves and reacts.</p>
<p dir="auto">P.S.: I will add support for the grid buttons widgets as promised - this will of course count as a single widget in DEMO version.</p>
<p dir="auto">Best regards,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/91</link><guid isPermaLink="true">https://forum.gui-o.com/post/91</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sat, 05 Mar 2022 07:30:18 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Sat, 05 Mar 2022 01:42:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/25">@granta</a> The latest update means I can't continue without upgrading to the pro version. I'm still unsure that I can build the UI that I need</p>
]]></description><link>https://forum.gui-o.com/post/88</link><guid isPermaLink="true">https://forum.gui-o.com/post/88</guid><dc:creator><![CDATA[GrantA]]></dc:creator><pubDate>Sat, 05 Mar 2022 01:42:01 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Fri, 04 Mar 2022 03:29:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a> I'll get some more concrete timings for you later today.</p>
<p dir="auto">I think a drop down list would be a better and more compact solution than the spinnable list, but I'll keep playing around.</p>
<p dir="auto">I'm using BT. The idea is to not rely on say a Wifi connection and a BT module is fairly cheap. I wanted say a phone or tablet to link with the percussion controller to change parameters and control what it does.</p>
<p dir="auto">I like the look of the virtual mixer - quite impressive.</p>
]]></description><link>https://forum.gui-o.com/post/86</link><guid isPermaLink="true">https://forum.gui-o.com/post/86</guid><dc:creator><![CDATA[GrantA]]></dc:creator><pubDate>Fri, 04 Mar 2022 03:29:50 GMT</pubDate></item><item><title><![CDATA[Reply to Grid of buttons? on Thu, 03 Mar 2022 07:22:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/25">@granta</a></p>
<p dir="auto">Hello,</p>
<p dir="auto">I see what you are trying to do.</p>
<p dir="auto">Could you please explain:</p>
<blockquote>
<p dir="auto">It works OK, but it is a bit clunky and difficult to get the right sizing though.</p>
</blockquote>
<p dir="auto">The sizing is always in % of screen width / height. The position also. Where did you encounter troubles? The reason I am asking this is that I will try to improve this widget based on your feedback.</p>
<p dir="auto">I am planning to implement a drop-down menu in the next couple of days. Maybe this would be a better control for you?</p>
<p dir="auto">Regarding the grid - there is currently no alternative. Creating the button grid is the right way to go... I can take a look and possibly implement a grid widget - I image it could be useful for other purposes as well.</p>
<p dir="auto">What is your communication type (BT, USB, IoT)? I image that rendering itself is not a problem. Probably, the bottleneck is the communication...</p>
<blockquote>
<p dir="auto">I initially tried to implement the button creation in some nested loops, but it takes an extremely long time to create and render the buttons</p>
</blockquote>
<p dir="auto">How long is this time? You can show the loading screen with @sls and @hls command (please see the manual) to make this loading more user friendly... I know it is not a final solution, but should help you a bit until I add support for new widgets.</p>
<p dir="auto">FYI - one of our users made a virtual mixing desk, see image below <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto"><img src="https://i.imgur.com/gRtA22O.png" alt="mixing_desk.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Best regards,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/85</link><guid isPermaLink="true">https://forum.gui-o.com/post/85</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Thu, 03 Mar 2022 07:22:04 GMT</pubDate></item></channel></rss>