wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src mapgen_dialog.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src mapgen_dialog.cpp
Date: Sun, 24 Apr 2005 08:05:28 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/04/24 12:05:28

Modified files:
        src            : mapgen_dialog.cpp 

Log message:
        Give a bit more space on the right so that non-english languages don't 
go over the border.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/mapgen_dialog.cpp.diff?tr1=1.37&tr2=1.38&r1=text&r2=text

Patches:
Index: wesnoth/src/mapgen_dialog.cpp
diff -u wesnoth/src/mapgen_dialog.cpp:1.37 wesnoth/src/mapgen_dialog.cpp:1.38
--- wesnoth/src/mapgen_dialog.cpp:1.37  Sat Apr 16 19:15:55 2005
+++ wesnoth/src/mapgen_dialog.cpp       Sun Apr 24 12:05:28 2005
@@ -99,7 +99,7 @@
        SDL_Rect villages_rect = 
font::draw_text(NULL,screen_area(),font::SIZE_NORMAL,font::NORMAL_COLOUR,villages_label,0,0);
        SDL_Rect landform_rect = 
font::draw_text(NULL,screen_area(),font::SIZE_NORMAL,font::NORMAL_COLOUR,landform_label,0,0);
 
-       const int horz_margin = 5;
+       const int horz_margin = 15;
        const int text_right = xpos + horz_margin +
                
maximum<int>(maximum<int>(maximum<int>(maximum<int>(maximum<int>(
                         
players_rect.w,width_rect.w),height_rect.w),iterations_rect.w),hillsize_rect.w),villages_rect.w);
@@ -123,7 +123,7 @@
 
        const int max_players = 9;
 
-       const int right_space = 100;
+       const int right_space = 150;
 
        const int slider_left = text_right + 10;
        const int slider_right = xpos + width - horz_margin - right_space;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]