We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Dialog box size problem

  • 4 תגובות
  • 2 have this problem
  • 7 views
  • תגובה אחרונה מאת cfcentaurea

more options

I have visual problems that require me to have the font set larger for dialog boxes etc. Because of this, I can't see the full dialog box for setting the font colors and there's no way to expand it. Is there a setting in about:config that would help?

I have visual problems that require me to have the font set larger for dialog boxes etc. Because of this, I can't see the full dialog box for setting the font colors and there's no way to expand it. Is there a setting in about:config that would help?
צילומי מסך מצורפים

כל התגובות (4)

more options

How are you increasing the font size?

Add code to the userChrome.css file below the default @namespace line or use Stylish. Adjust the value (50em) to suit your needs.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#ColorsDialog { width: 50em !important; }

  • create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • paste the code in the userChrome.css file in the editor window
  • make sure that the userChrome.css file starts with the default @namespace line
  • make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
more options

I added #ColorsDialog { width: 50em !important; } to my userChrome.css file and kept increasing it, up to 800em (!), closing & opening FF each time, but the colors dialog box is unchanged.

My basic font size on dialog boxes, toolbars etc. is set with Windows color, advanced appearance settings. (Windows 7)

more options

My mistake, sorry about the confusion.

I sometimes forget that code for these about pages needs to be in userContent.css and not in userChrome.css.

Tested it this time.

Add code to the userContent.css file.


@-moz-document url-prefix(about:preferences#content){
 #dialogBox { width: 50em !important; }
}
more options

Works like a charm! Thanks as always for your help, cor-el! Now that I can see the whole thing, I find it doesn't do what I want it to do - namely, to change ONLY the color of text to black without changing the color of links, background, etc. Any way to do this?

השתנתה ב־ על־ידי cfcentaurea