<?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[Fill extra space in font overview]]></title><description><![CDATA[<p dir="auto">General question about UI that might be worth discussing, probably more important for Single-Window-Mode users on laptops.</p>
<p dir="auto">The nature of the Font Overview window is such that in most window-widths, there will be extra dark-gray space to the right of the actual glyph cells.</p>
<p dir="auto">Potential ideas to avoid this:</p>
<p dir="auto"><code>1</code> Option to double click the right edge of the window, snapping it to the right side of the glyph cells.</p>
<p dir="auto"><code>2</code> Width of glyph cells dynamically resize when window width is being dragged. (+/- 50% of glyph cell width.) The downside of this is that each glyph's presence would change, and wouldn't be square. Maybe this is fine?</p>
<p dir="auto"><code>3</code> Same as 2 but scale changes proportionately +- 25% (?) to fill empty space.</p>
<p dir="auto"><code>4</code> When dragging window width, it can only snap to states where there is no extra space. Possible?</p>
<p dir="auto"><img src="/assets/uploads/files/1575073001273-screen-shot-2019-11-29-at-19.14.14.png" alt="Screen Shot 2019-11-29 at 19.14.14.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><code>3</code> might be the best way to make sure that the glyph preview in each cell is as big as possible for how much space the whole window is taking up on the screen.</p>
<p dir="auto">Would love to hear your thoughts,<br />
Ryan</p>
]]></description><link>https://forum.robofont.com/topic/752/fill-extra-space-in-font-overview</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 23:49:51 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/752.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Nov 2019 00:33:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fill extra space in font overview on Sat, 30 Nov 2019 00:35:28 GMT]]></title><description><![CDATA[<p dir="auto">General question about UI that might be worth discussing, probably more important for Single-Window-Mode users on laptops.</p>
<p dir="auto">The nature of the Font Overview window is such that in most window-widths, there will be extra dark-gray space to the right of the actual glyph cells.</p>
<p dir="auto">Potential ideas to avoid this:</p>
<p dir="auto"><code>1</code> Option to double click the right edge of the window, snapping it to the right side of the glyph cells.</p>
<p dir="auto"><code>2</code> Width of glyph cells dynamically resize when window width is being dragged. (+/- 50% of glyph cell width.) The downside of this is that each glyph's presence would change, and wouldn't be square. Maybe this is fine?</p>
<p dir="auto"><code>3</code> Same as 2 but scale changes proportionately +- 25% (?) to fill empty space.</p>
<p dir="auto"><code>4</code> When dragging window width, it can only snap to states where there is no extra space. Possible?</p>
<p dir="auto"><img src="/assets/uploads/files/1575073001273-screen-shot-2019-11-29-at-19.14.14.png" alt="Screen Shot 2019-11-29 at 19.14.14.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><code>3</code> might be the best way to make sure that the glyph preview in each cell is as big as possible for how much space the whole window is taking up on the screen.</p>
<p dir="auto">Would love to hear your thoughts,<br />
Ryan</p>
]]></description><link>https://forum.robofont.com/post/2831</link><guid isPermaLink="true">https://forum.robofont.com/post/2831</guid><dc:creator><![CDATA[ryan]]></dc:creator><pubDate>Sat, 30 Nov 2019 00:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Mon, 02 Dec 2019 09:51:08 GMT]]></title><description><![CDATA[<p dir="auto">I would argue its more complex: due to the use of a splitview for the smart sets this is all not possible...</p>
<p dir="auto">but:</p>
<pre><code class="language-python">from mojo.UI import CurrentFontWindow
# get the current window
w = CurrentFontWindow()
# get the cell view
view = w.getGlyphCollection().getCellView()
# get the frame of the cell view
_, (viewWidth, _) = view.frame()
# get the cell size of the cell view
cellWidth, _ = view.getCellSize()
print(viewWidth, cellWidth)
# calculate the leftover dark gray space
changeWindowBy = viewWidth % cellWidth
# get the window position
left, top, width, height = w.window().getPosSize()
# change the position of the window
w.window().setPosSize((left, top, width-changeWindowBy, height), False)
</code></pre>
]]></description><link>https://forum.robofont.com/post/2836</link><guid isPermaLink="true">https://forum.robofont.com/post/2836</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Mon, 02 Dec 2019 09:51:08 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Sun, 01 Dec 2019 20:16:57 GMT]]></title><description><![CDATA[<p dir="auto">FWIW, I use the dark grey area. Clicking it is the easiest way to deselect everything in the ice cube tray.</p>
]]></description><link>https://forum.robofont.com/post/2837</link><guid isPermaLink="true">https://forum.robofont.com/post/2837</guid><dc:creator><![CDATA[okaytype]]></dc:creator><pubDate>Sun, 01 Dec 2019 20:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Wed, 04 Dec 2019 22:32:25 GMT]]></title><description><![CDATA[<p dir="auto">Fair point <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/372">@okaytype</a>. Thanks for a headstart on this <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a>. I see your point about smart sets. I'll mess around with this and if I get anywhere, I'll post here.</p>
<p dir="auto">Btw is there something like a <code>addGlyphCollectionSubview</code> which might enable me to add a dash of vanilla here?<br />
<img src="/assets/uploads/files/1575498062562-71845507-05f8-4e76-99ea-41367369341d-image.png" alt="71845507-05f8-4e76-99ea-41367369341d-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Thanks!<br />
Ryan</p>
]]></description><link>https://forum.robofont.com/post/2848</link><guid isPermaLink="true">https://forum.robofont.com/post/2848</guid><dc:creator><![CDATA[ryan]]></dc:creator><pubDate>Wed, 04 Dec 2019 22:32:25 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Thu, 05 Dec 2019 22:50:21 GMT]]></title><description><![CDATA[<pre><code>import vanilla
from mojo.UI import CurrentFontWindow

def callback(sender):
    print("oooooo")

w = CurrentFontWindow()
w.window().extraButton = vanilla.Button((-135, -18, -105, 16), "O", callback=callback, sizeStyle="mini")
</code></pre>
]]></description><link>https://forum.robofont.com/post/2858</link><guid isPermaLink="true">https://forum.robofont.com/post/2858</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 05 Dec 2019 22:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Fri, 06 Dec 2019 12:23:30 GMT]]></title><description><![CDATA[<p dir="auto">I also added these notifications <code>fontWindowWillOpen</code> and <code>fontWindowDidOpen</code> (in the next beta/release) so you can subscribe to this event and add buttons likes this.</p>
]]></description><link>https://forum.robofont.com/post/2859</link><guid isPermaLink="true">https://forum.robofont.com/post/2859</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Fri, 06 Dec 2019 12:23:30 GMT</pubDate></item><item><title><![CDATA[Reply to Fill extra space in font overview on Fri, 06 Dec 2019 16:44:45 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a>!</p>
]]></description><link>https://forum.robofont.com/post/2860</link><guid isPermaLink="true">https://forum.robofont.com/post/2860</guid><dc:creator><![CDATA[ryan]]></dc:creator><pubDate>Fri, 06 Dec 2019 16:44:45 GMT</pubDate></item></channel></rss>