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:
@@ -1347,14 +1347,15 @@ var processmap=function(){
|
|||||||
/* Change label End */
|
/* Change label End */
|
||||||
var menu = new this.parent.module.app.menuRight();
|
var menu = new this.parent.module.app.menuRight();
|
||||||
var textMenu = G_STRINGS.ID_PROCESSMAP_USERS_AND_GROUPS_ADHOC;
|
var textMenu = G_STRINGS.ID_PROCESSMAP_USERS_AND_GROUPS_ADHOC;
|
||||||
var lengthText = textMenu.length*5.5;
|
var lengthText = textMenu.length * 0.60;
|
||||||
|
|
||||||
menu.make({
|
menu.make({
|
||||||
target:a,
|
target: a,
|
||||||
width:26+lengthText,
|
width: (3 + lengthText) + "em",
|
||||||
theme:this.options.theme,
|
theme: this.options.theme,
|
||||||
menu:((options_task.tp=='task')?
|
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();
|
this.tmp.stepsPanel = panel =new leimnud.module.panel();
|
||||||
var data = this.data.db.task[index];
|
var data = this.data.db.task[index];
|
||||||
var iForm=function(panel,index,ifo){
|
var iForm=function(panel,index,ifo){
|
||||||
|
|||||||
Reference in New Issue
Block a user