[email protected] wrote:
> Author: uwestoehr
> Date: Wed Mar 31 02:46:50 2010
> New Revision: 33962
> URL: http://www.lyx.org/trac/changeset/33962
> 
> Log:
> fileformat change:
> - support to change the greyed-out note font color (fixes #3865)

> +2010-03-31 Uwe Stöhr <[email protected]>
> +     * Format incremented to 382: support to change the font color
> +     for greyed-out notes
> +

please keep the entries in FORMAT file more informative. that means
try to indicate what was added, in this case "\notefontcolor color."
good example would be the entry from 2010-01-10 Jürgen Spitzmüller 
<[email protected]>.

 
> Modified: lyx-devel/trunk/src/frontends/qt4/ui/FontUi.ui
> ==============================================================================
> --- lyx-devel/trunk/src/frontends/qt4/ui/FontUi.ui    Wed Mar 31 00:51:11 
> 2010        (r33961)
> +++ lyx-devel/trunk/src/frontends/qt4/ui/FontUi.ui    Wed Mar 31 02:46:50 
> 2010        (r33962)
> @@ -201,7 +201,74 @@
>       </property>
>      </widget>
>     </item>
> -   <item row="8" column="1">
> +   <item row="8" column="0">
> +    <widget class="QLabel" name="noteFontColorLA">
> +     <property name="text">
> +      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; 
> &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
> +&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; 
> content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
> +p, li { white-space: pre-wrap; }
> +&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 
> 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
> +&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
> margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
> style=&quot; font-size:8pt;&quot;&gt;Font color for&lt;/span&gt;&lt;/p&gt;
> +&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
> margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
> style=&quot; font-size:8pt;&quot;&gt;greyed-out 
> notes:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>

i understand the problem but this is really ugly. we must find another way.
either shortcuting a-la 'Greyedout color' and the rest in tooltip
or use something else then label.

pavel

Reply via email to