Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Multi_Plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -3564,17 +3564,17 @@ def on_left_click(self, event):
def setup_load_check_button_or_text(self):

if self.bedrock_id and not self.icon_bitmap:
self.button = wx.Button(self, size=(80, 80), label=bedrock_id)
self.button = wx.Button(self, size=(80, 80), label=self.bedrock_id)
font = self.button.GetFont()
font.SetPointSize(10) # Make text smaller
self.button.SetFont(font)
split_name = bedrock_id.split('_')
bedrock_id = ''
split_name = self.bedrock_id.split('_')
self.bedrock_id = ''
for i,s in enumerate(split_name): # Manual wrapping
if len(s) > 0:
bedrock_id += f'{s}_\n' if i != len(split_name)-1 else f'{s}'
self.bedrock_id += f'{s}_\n' if i != len(split_name)-1 else f'{s}'

self.button.SetLabel(bedrock_id)
self.button.SetLabel(self.bedrock_id)
else:
if self.bedrock_id:
self.button = wx.Button(self, size=(80, 80) ,name=self.bedrock_id)
Expand Down Expand Up @@ -18452,4 +18452,4 @@ def is_file_recent(self, age_limit=25):
"The Plugin has Been Updated", wx.OK | wx.ICON_INFORMATION)


export = dict(name="# Multi TOOLS", operation=MultiTools) # By PremiereHell
export = dict(name="# Multi TOOLS", operation=MultiTools) # By PremiereHell