2014-02-20 60 views
1

如何在行中显示下面提到的两个组(以红色圆圈标记)?对于同一如何在行中显示按钮和状态栏项目

enter image description here

相关的代码下面

 <header> 
       <button name="mymod_assigned" class="oe_highlight" type="workflow" string="Assigned" state="new" /> 
       <button name="mymod_negotiation" class="oe_highlight" type="workflow" string="In Negotiation" state="assigned" /> 
       <button name="mymod_won" class="oe_highlight" type="workflow" string="Won" state="negotiating"/> 
       <button name="mymod_lost" class="oe_highlight" type="workflow" string="Lost" state="negotiating"/> 
       <field name="state" widget="statusbar" 
         statusbar_visible="new,assigned,negotiation,won,lost" 
         statusbar_colors='{ 
             "new":"blue", 
             "assigned":"blue", 
             "negotiation":"blue", 
             "won":"red", 
             "lost":"red" 
             }' 
             /> 
     </header> 

回答

0

给出尝试把按钮的左侧组中的一个DIV与float:left和右侧组中的另一个DIV与float:right

+2

谢谢卡坎。只需在一个div下添加上面的代码而不添加任何浮点数。 – user3153567

相关问题