Comments (8)
BTW, When I start one of the small Standalone TypeRig scripts with a simple dialog, the problem (which also affects context menus) does not occur but when I start one of the big panels, it happens:
What’s the principal difference between how you launch the "small" and the "big" panels?
from typerig.
I see that this problem is due to the style override that Vassil does. With the style override, the TR panel is 890 px tall, and it just-so fits vertically onto a MacBook screen — but this changes UI elements in the app itself as well.
Without the style override (i.e. when the Qt macintosh
style is used), it’s 1180 px tall and gets cut off around the "Stats" tab.
This is rather unfortunate, of course — but it’s a consequence of a design decision of the TypeRig panel (the fact that it requires lots of vertical space).
from typerig.
On Windows, I guess these problems don’t appear that much because Windows generally produces smaller dialog boxes. But in macOS, dialogs are larger by design.
@kateliev I see that FontLab doesn’t even use any custom style — it just is macintosh
(if I change this line to QtGui.QApplication.setStyle(QtGui.QStyleFactory.create('macintosh'))
, I get the original appearance.
So, this is not something that FontLab can do anything about, I guess.
from typerig.
OK, I just did a bit of checking. My suggestion would be that you:
- Make your own class based on
QtGui.QGridLayout
where forDarwin
you do:
self.setVerticalSpacing(5)
self.setHorizontalSpacing(7) #optional
and you subclass all your layouts from that custom class rather than from QtGui.QGridLayout
directly.
- For the entire panel on
Darwin
, setStyleSheet to"""font-size: 12px;"""
.
That will solve 99% of the problems without the necessity to hack.
from typerig.
even setVerticalSpacing(3)
could do. This is Anchors:
from typerig.
This is original Nodes (the visible part that I can get onto my screen — the rest is cut off):
And this is with font-size: 12px and with verticalSpacing 3:
There are still some gaps, not sure what they’re coming from — you understand your widgets much better than I do.
from typerig.
@kateliev I’ve created a simple solution that could be improved, but it’s better than the current Mac hack :) #18
from typerig.
Fixed by @twardoch! Merged!
from typerig.
Related Issues (20)
- Delta [Panel] Redesign
- Contour [Panel] Redesign
- [Bug] Interpolated nudge
- [Bug] Delta [Panel] layer change messing stem value in spinboxes
- [Proxy] Glyph and Font .update()
- [Bug] Layer [Panel] Change layer type HOT 1
- GUI OS check failing on older MacOs
- Copy anchors proportionally option HOT 29
- Panel 3.11 HOT 7
- TypeRig Panel Delta – some glyphs are not affected HOT 1
- Little Rename Anchors Script Bug HOT 1
- Kerning manipulations
- Error messages with Delta Machine, TypeRig GUI Manager on FontLab 8, Windows 11 OS HOT 3
- FL8: pGlyph.addComponents not working HOT 1
- TR Manager does not start anymore HOT 3
- Can't access functions
- TypeRig Panel & TypeRig Toolbar not working HOT 2
- Proportionally harmonise control handles to master? HOT 5
- [Epic] Undo states and object updates
- TypeRig Panel error upon reinstallation 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 typerig.