[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth ./changelog src/widgets/file_chooser.cpp
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth ./changelog src/widgets/file_chooser.cpp |
Date: |
Tue, 03 May 2005 18:24:52 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/05/03 22:24:52
Modified files:
. : changelog
src/widgets : file_chooser.cpp
Log message:
Fix #11698, broken file chooser in editor
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/changelog.diff?tr1=1.644&tr2=1.645&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/file_chooser.cpp.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
Patches:
Index: wesnoth/changelog
diff -u wesnoth/changelog:1.644 wesnoth/changelog:1.645
--- wesnoth/changelog:1.644 Mon May 2 23:48:56 2005
+++ wesnoth/changelog Tue May 3 22:24:52 2005
@@ -1,5 +1,6 @@
CVS HEAD:
* user interface improvements:
+ * fix editor file chooser when starting directory has many files (#11698)
* made it so network dialogs show progress of data transfers again
* starting position in editor now starts at player 1 (#10625)
* fixed female units not appearing in help (broken since 0.9.0)
Index: wesnoth/src/widgets/file_chooser.cpp
diff -u wesnoth/src/widgets/file_chooser.cpp:1.27
wesnoth/src/widgets/file_chooser.cpp:1.28
--- wesnoth/src/widgets/file_chooser.cpp:1.27 Fri Mar 18 21:21:48 2005
+++ wesnoth/src/widgets/file_chooser.cpp Tue May 3 22:24:52 2005
@@ -47,8 +47,11 @@
current_dir_ = path_delim_;
chosen_file_ = current_dir_;
}
- // Set sizes to some default values.
- set_measurements(400, 500);
+ // FIXME: quick hack
+ // on a high-res screen the initial max_items_onscreen is based
+ // on .66 of y dimension, eg. 17 menu items, exceeding the
+ // starting box which can only take 13 or so: force it to be smaller
+ set_measurements(400, 384);
update_file_lists();
display_chosen_file();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth ./changelog src/widgets/file_chooser.cpp,
ott <=