sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Make new dialogs title bar logo skinable (Trac #1496) #1496

Closed sleemanj closed 4 years ago

sleemanj commented 14 years ago

The title bar text offset in the new dialogs is hard-coded. The change to follow moves this parameter to the style sheet, making it possible to use a skin to place a different-sized logo in the title bar. Specify the logo in the config file like this:

xinha_config.iconList.dialogCaption = _editor_url + 'images/mylogo.gif';

and adjust the space to the left of the title in the skin:

.dialog h1 { padding-left: XXpx; }

Reported by wymsy, migrated from http://trac.xinha.org/ticket/1496

sleemanj commented 14 years ago

Changeset 1234