You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to write an app whose title is two lines in the menu bar to save space. is this possible?
`import rumps
class TwoLineTitleApp(rumps.App):
def init(self):
super(TwoLineTitleApp, self).init("Two Line\nTitle App")
# Set the menu items
self.menu = ["Item 1", "Item 2"]
if name == "main":
app = TwoLineTitleApp()
app.run()
`
The text was updated successfully, but these errors were encountered:
As far as I can tell, apps which show 2 lines of text in the Mac menu bar are actually creating images and showing those. Perhaps you can dynamically create an image and set the app's icon to that?
On May 2, 2023 at 5:42 PM +0800, Simon Brunning ***@***.***>, wrote:
As far as I can tell, apps which show 2 lines of text in the Mac menu bar are actually creating images and showing those. Perhaps you can dynamically create an image and set the app's icon to that?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Hello, I'm trying to write an app whose title is two lines in the menu bar to save space. is this possible?
`import rumps
class TwoLineTitleApp(rumps.App):
def init(self):
super(TwoLineTitleApp, self).init("Two Line\nTitle App")
# Set the menu items
self.menu = ["Item 1", "Item 2"]
if name == "main":
app = TwoLineTitleApp()
app.run()
`
The text was updated successfully, but these errors were encountered: