yes
This commit is contained in:
parent
df99e66d87
commit
a23016bc05
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ static void click(MwWidget handle) {
|
|||
menu->sub[j]->wsub = NULL;
|
||||
}
|
||||
|
||||
p.x = rc.x + rc.width + 3;
|
||||
p.x = MwGetInteger(handle, MwNwidth);
|
||||
p.y = rc.y - 3;
|
||||
|
||||
menu->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, 0, 0, 0);
|
||||
|
|
@ -183,6 +183,8 @@ static void mwSubMenuAppearImpl(MwWidget handle, MwMenu menu, MwPoint* point, in
|
|||
w += 10 + 15;
|
||||
h += 3;
|
||||
|
||||
if(w < 150) w = 150;
|
||||
|
||||
if(diff_calc) {
|
||||
p.y = p.y - h;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue