MTMR
MTMR copied to clipboard
Content inside bordered buttons shifts left
Hi
I can't get MTMR to work properly with bordered buttons. Aside from the "esc" button which is correctly centered, on any kind of button the content or title is always next to the left border. The only way to center the button title is to make it small enough or to just remove the border.
I'm currently running High Sierra with a 13-inch MacBook Pro retina touchbar from 2017. My current preset:
[
{ "type": "escape", "width": 75 },
{ "type": "brightnessDown", "width": 100, "align": "left" },
{ "type": "brightnessUp", "width": 100, "align": "left" },
{
"type": "appleScriptTitledButton",
"source": {
"inline":
"if application \"Spotify\" is running then\rtell application \"Spotify\"\rreturn (get artist of current track) & \" – \" & (get name of current track)\r\"\"\rend tell\rend if\rreturn \"\"\r"
},
"action": "appleScript",
"actionAppleScript": {
"inline":
"if application \"Spotify\" is running then\rtell application \"Spotify\"\rplaypause\rend tell\rend if\r"
},
"refreshInterval": 5,
"image": {
"base64":
"iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTB3WXx3UXh3VXx7XYBkXFRpVLRyURmIaeAQAAAAEdFJOUwDDO3fSqUUkAAABbklEQVRIx61VbW6DMAztoAeYNA7ApB6gkzhAWS24wIAL0HABaK6/pHFNEhy8TXu/kPzkPD/8cTj8K7KPAqB+K5NhQPCUrABCXe7HOUYYZxgVRLiG8RfY4DUgFFtC7cffAfZTFBwBdhWEKfgEq4ocEjgj4ZQifO6/QG9kkETp1dDeVWfRKx3XYSW0LoqY5kCElXDrQkyeCCuh6WL0M4nIWQIyzqixdfKU1koFDKvyCA8NJMzU4xiD+b4kfHRpsIyKc6hBwjVptFHVY51EMAINNDFGJITKDNQcdpX74Hz0CQ3rY5qwMp4EIxrlafzrsYZ2Veb0DkRgfNCUok4Y1fqEijfyi2b8RE9beWqa48Y/uvCNMcH9btfUi+/CGLR1vhL6Zz9N/vBlaCU+7lwY/cmJ67Ryen/2tj23PLqJBodZH8vgj544vOL4pxfI5acrSFxi8hrkU9TSKr78ZpnL50A8KPJJEo+afBblwyqf5j/iGys5j6ScrST2AAAAAElFTkSuQmCC"
}
},
{ "type": "previous", "bordered": false, "width": 50, "align": "right"},
{ "type": "play", "bordered": false,"width": 50, "align": "right" },
{ "type": "next", "bordered": false,"width": 50, "align": "right" },
{
"type": "volumeDown",
"bordered": false,
"align": "right",
"width": 40
},
{
"type": "volumeUp",
"bordered": false,
"align": "right",
"width": 40
},
{ "type": "displaySleep", "width": 40, "align": "right", "bordered": false },
{ "type": "weather", "refreshInterval": 600, "units": "metric", "align": "right", "bordered": false, "api_key": "84645702688e83a35e2549ca77f73369"},
{ "type": "timeButton", "align": "right", "formatTemplate": "MMM d", "bordered": false }
]
OSX Catalina, cannot reproduce:
Probably depend on OSX version?
maybe, im running High Sierra 10.13.6 (17G12034)
I got something similar to this, the contents in my buttons always shift slightly to the right. If they launch with MTMR then everything is fine, but some buttons only appear when certain programs are open, and that's when they move over.
currently running Monterey 12.5 (21G72)