diff --git a/otp/otpgui/OTPDialog.py b/otp/otpgui/OTPDialog.py index 80ffa7c8..d5dea0fe 100755 --- a/otp/otpgui/OTPDialog.py +++ b/otp/otpgui/OTPDialog.py @@ -69,7 +69,9 @@ class OTPDialog(DirectDialog): ('button_relief', None, None), ('button_text_pos', (0, -0.1), None), ('fadeScreen', 0.5, None), - ('image_color', OTPGlobals.GlobalDialogColor, None)) + ('image_color', OTPGlobals.GlobalDialogColor, None), + ('image', DGG.getDefaultDialogGeom(), None), + ('relief', None, None)) self.defineoptions(kw, optiondefs) DirectDialog.__init__(self, parent) self.initialiseoptions(OTPDialog) diff --git a/toontown/makeatoon/NameShop.py b/toontown/makeatoon/NameShop.py index d4079bc3..7bc2efdb 100755 --- a/toontown/makeatoon/NameShop.py +++ b/toontown/makeatoon/NameShop.py @@ -440,7 +440,7 @@ class NameShop(StateData.StateData): imageList = (guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')) buttonImage = [imageList, imageList] buttonText = [TTLocalizer.NameShopContinueSubmission, TTLocalizer.NameShopChooseAnother] - self.approvalDialog = DirectDialog(dialogName='approvalstate', topPad=0, fadeScreen=0.2, pos=(0, 0.1, 0.1), button_relief=None, image_color=GlobalDialogColor, text_align=TextNode.ACenter, text=TTLocalizer.NameShopToonCouncil, buttonTextList=buttonText, buttonImageList=buttonImage, buttonValueList=[1, 0], command=self.approvalAction) + self.approvalDialog = DirectDialog(relief=None, image=DGG.getDefaultDialogGeom(), dialogName='approvalstate', topPad=0, fadeScreen=0.2, pos=(0, 0.1, 0.1), button_relief=None, image_color=GlobalDialogColor, text_align=TextNode.ACenter, text=TTLocalizer.NameShopToonCouncil, buttonTextList=buttonText, buttonImageList=buttonImage, buttonValueList=[1, 0], command=self.approvalAction) self.approvalDialog.buttonList[0].setPos(0, 0, -.3) self.approvalDialog.buttonList[1].setPos(0, 0, -.43) self.approvalDialog['image_scale'] = (0.8, 1, 0.77)