src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenu/hbmenu.css
changeset 28 b7da29130b0e
parent 5 627c4a0fd0e7
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
     7 }
     7 }
     8 
     8 
     9 HbMenu::content
     9 HbMenu::content
    10 {
    10 {
    11 	max-width: expr(var(hb-param-screen-short-edge)-9un);
    11 	max-width: expr(var(hb-param-screen-short-edge)-9un);
    12 	min-width: expr((var(hb-param-screen-short-edge)-9un)/2);
    12         min-width: expr((var(hb-param-screen-short-edge)-9un)/2);
    13 	max-height: 43un;
    13         max-height: expr(var(hb-param-text-height-primary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
    14 	size-policy-vertical: expanding;
    14 	size-policy-vertical: expanding;
    15 	size-policy-horizontal: expanding;
    15 	size-policy-horizontal: expanding;
    16 }
    16 }
    17 
    17 
    18 HbMenu[menuType="1"]::content
    18 HbMenu[menuType="1"]::content
    19 {
    19 {
    20 	min-width: expr(var(hb-param-screen-short-edge)-9un);
    20 	min-width: expr(var(hb-param-screen-short-edge)-9un);
    21 }
    21 }
       
    22 
       
    23 HbMenu[menuType="2"]::content
       
    24 {
       
    25         max-height: expr(var(hb-param-text-height-secondary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
       
    26 }