src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenu/hbmenu.css
changeset 28 b7da29130b0e
parent 5 627c4a0fd0e7
--- a/src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenu/hbmenu.css	Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenu/hbmenu.css	Fri Sep 17 08:32:10 2010 +0300
@@ -9,8 +9,8 @@
 HbMenu::content
 {
 	max-width: expr(var(hb-param-screen-short-edge)-9un);
-	min-width: expr((var(hb-param-screen-short-edge)-9un)/2);
-	max-height: 43un;
+        min-width: expr((var(hb-param-screen-short-edge)-9un)/2);
+        max-height: expr(var(hb-param-text-height-primary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
 	size-policy-vertical: expanding;
 	size-policy-horizontal: expanding;
 }
@@ -19,3 +19,8 @@
 {
 	min-width: expr(var(hb-param-screen-short-edge)-9un);
 }
+
+HbMenu[menuType="2"]::content
+{
+        max-height: expr(var(hb-param-text-height-secondary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
+}