Changeset - r13630:a49cf128ba50
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-11-18 12:31:09
rubidium@openttd.org
(svn r18164) -Change: make dropdown 'right' align to the opening widget with RTL
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/widgets/dropdown.cpp
Show inline comments
 
@@ -390,7 +390,7 @@ void ShowDropDownList(Window *w, DropDow
 

	
 
	if (auto_width) width = max(width, max_item_width);
 

	
 
	Point dw_pos = {w->left + wi_rect.left, top};
 
	Point dw_pos = { w->left + (_dynlang.text_dir == TD_RTL ? wi_rect.right + 1 - width : wi_rect.left), top};
 
	Dimension dw_size = {width, height};
 
	new DropdownWindow(w, list, selected, button, instant_close, dw_pos, dw_size, wi_colour, scroll);
 
}
0 comments (0 inline, 0 general)