forked from enlightenment/efl
button: add fixed 1 1 in case that text is not used.
If only icon is used in a button, it prints error message regarding fixed 1 1; This resolved the problem.
This commit is contained in:
parent
9dddb7e61e
commit
e61c0f9141
|
@ -171,6 +171,7 @@ group { name: "elm/button/base/default";
|
|||
text_class: "button";
|
||||
}
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
|
@ -178,12 +179,14 @@ group { name: "elm/button/base/default";
|
|||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "textonly";
|
||||
inherit: "default";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "disabled_visible";
|
||||
inherit: "default";
|
||||
|
@ -193,6 +196,7 @@ group { name: "elm/button/base/default";
|
|||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "disabled_textonly";
|
||||
inherit: "default";
|
||||
|
@ -201,6 +205,7 @@ group { name: "elm/button/base/default";
|
|||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
|
|
Loading…
Reference in New Issue