BUG 8726 "Visualizacion incompleta en el menu de tareas" SOLVED

- Not show completely the string in the popup menu
- Solved the problem using the unit "em" instead of "pixel"
This commit is contained in:
Victor Saisa Lopez
2012-04-02 12:16:38 -04:00
parent f4ac9f11e8
commit 6d752a7e42

View File

@@ -1347,14 +1347,15 @@ var processmap=function(){
/* Change label End */
var menu = new this.parent.module.app.menuRight();
var textMenu = G_STRINGS.ID_PROCESSMAP_USERS_AND_GROUPS_ADHOC;
var lengthText = textMenu.length*5.5;
var lengthText = textMenu.length * 0.60;
menu.make({
target:a,
width:26+lengthText,
theme:this.options.theme,
menu:((options_task.tp=='task')?
target: a,
width: (3 + lengthText) + "em",
theme: this.options.theme,
menu: ((options_task.tp == "task")?
[
{image:"/images/steps.png",text:G_STRINGS.ID_PROCESSMAP_STEPS,launch:function(event,index){
{image: "/images/steps.png", text: G_STRINGS.ID_PROCESSMAP_STEPS, launch: function (event, index) {
this.tmp.stepsPanel = panel =new leimnud.module.panel();
var data = this.data.db.task[index];
var iForm=function(panel,index,ifo){