bigboard r7356 - trunk/bigboard/stocks/apps



Author: marco
Date: Wed Jun 11 15:30:04 2008
New Revision: 7356
URL: http://svn.gnome.org/viewvc/bigboard?rev=7356&view=rev

Log:
Finish to remove hardcoded font size from AppsStock

Modified:
   trunk/bigboard/stocks/apps/AppsStock.py
   trunk/bigboard/stocks/apps/stock.css

Modified: trunk/bigboard/stocks/apps/AppsStock.py
==============================================================================
--- trunk/bigboard/stocks/apps/AppsStock.py	(original)
+++ trunk/bigboard/stocks/apps/AppsStock.py	Wed Jun 11 15:30:04 2008
@@ -40,7 +40,7 @@
         self.__message_link = ActionLink()
         self.__message_link.connect("button-press-event", lambda link, event: self.__on_message_link())
         self.__message_link_url = None
-        self.__subtitle = hippo.CanvasText(font="Bold 12px")
+        self.__subtitle = hippo.CanvasText(classes='stock-subtitle')
         self.__applications = CanvasVBox()
         
         self.__box.append(self.__message)

Modified: trunk/bigboard/stocks/apps/stock.css
==============================================================================
--- trunk/bigboard/stocks/apps/stock.css	(original)
+++ trunk/bigboard/stocks/apps/stock.css	Wed Jun 11 15:30:04 2008
@@ -1,3 +1,12 @@
+.stock-subtitle {
+    font-size: 0.9em;
+    font-weight: bold;
+}
+
 .app-subtitle {
     font-size: 0.8em;
 }
+
+.app-overview-description {
+    font-size: 0.8em;
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]