Mark de Wever
d37dda31d0
Added a label class using the alignment flag.
2010-03-29 08:34:44 +00:00
Mark de Wever
b84f2ebff0
Enable the hidden join observe buttons per row
2010-03-26 15:47:08 +00:00
Mark de Wever
127d7b7d8e
Fix some unused wml keys.
...
Problem detected by wml validator.
2010-03-07 18:38:05 +00:00
Jérémy Rosen
53105be56f
remove EXPERIMENTAL blocks in source
2010-02-22 20:08:38 +00:00
Alexander van Gessel
269871e888
Move some incorrectly placed vertical_grow around in GUI WML,
...
...spotted by wmlvalidator
2010-02-22 03:15:33 +01:00
Alexander van Gessel
fbcfa9f312
Move an attribute into the right tag, caught by wmlvalidator
2010-02-21 05:43:32 +01:00
Alexander van Gessel
8846564857
Fix some two-tags-on-single-line issues...
...
...and the indentation that wmlindent didn't get right because of it
2010-02-18 15:14:51 +01:00
Alexander van Gessel
48fa373c76
Fix another issue that makes wmlparser choke
2010-02-16 16:19:44 +01:00
Alexander van Gessel
75d63b87eb
Remove a leading space in a closing tag...
...
...(apparently works in wesnoth, but wmlparser.py choked on it)
2010-02-16 15:25:48 +01:00
Mark de Wever
d6e2cc5f38
Hide the lobby player list when using new widgts.
...
Before only the lists where hidden now the entire widget.
2010-02-08 15:26:06 +00:00
Mark de Wever
8b2eb43b5f
Improve the size of the player tree view.
2010-02-08 15:26:02 +00:00
Mark de Wever
6a1dd909e1
Make the lobby tree view look like the listbox.
2010-02-08 15:25:59 +00:00
Mark de Wever
325d904a8e
Allow the node in the tree to use the full width.
...
Fixes issues in both the code and the configs that currently use. Also
removed some cruft from the configs.
2010-02-07 16:19:01 +00:00
Mark de Wever
da76212491
Initial test to use the tree view in the lobby.
...
The code is 'hidden' behind the --new-widgets switch. The machine here
at the FOSDEM is too slow to test with non-optimized builds so further
large scale testing is postponed until tomorrow.
2010-02-07 13:19:56 +00:00
Mark de Wever
aed21b378c
Switch fold and unfold image.
...
Now the folded and unfolded nodes look sane.
2010-02-06 16:19:11 +00:00
Mark de Wever
7215ffa390
Proof-of-concept usage of the tree view widget.
...
This code is used to test the new widget, also to be used on the FOSDEM,
the code is hidden under --new-widgets. It's not planned to keep this
change for the campaign dialog.
2010-02-04 20:39:38 +00:00
Mark de Wever
9ec2566ee8
Add an initial version of the tree view widget.
...
I might want to work on the widget at the FOSDEM, so it's easier to commit
the code now.
2010-02-04 20:35:01 +00:00
Fabian Müller
34334c4396
Excluded the whole file from consideration by a normal Wesnoth build.
2010-02-02 12:29:26 +00:00
Fabian Müller
879ae485f3
Disabled the translation marks by making them part of the string.
2010-02-02 11:58:41 +00:00
Fabian Müller
a20857bd89
Added a wml config file for the icon messages.
2010-01-31 16:56:51 +00:00
Mark de Wever
3687e96447
Some minor lobby ui improvements.
...
Set up the defaults to better match what's needed in the main lobby
causing less resizing after joining. Also avoid some silly cases.
- Never show a horizontal scrollbar for the rooms and lobby list.
- Always show it for the game list.
- Hide it for the rooms (always might be slightly better).
2010-01-17 12:41:15 +00:00
Mark de Wever
3444c48e19
Improve the tiny-gui version.
2010-01-03 10:38:32 +00:00
Mark de Wever
c16e777eb0
Improve the tiny-gui version.
2010-01-03 10:38:29 +00:00
Mark de Wever
93d68a73b6
Improve the tiny-gui version.
2010-01-03 10:38:25 +00:00
Mark de Wever
43694a1d7d
Improve the tiny-gui version.
2010-01-03 10:38:20 +00:00
Mark de Wever
2f802be0af
Switched back to the tiled background for gui2.
...
The tile background looks better and renders faster. The latter is
noticable in the new lobby, which becomes faster with this change.
2010-01-01 18:51:15 +00:00
Mark de Wever
c636eaf402
Protect against no savegame selected in the list.
...
The filter can filter out all savegames, then the preview pane shouldn't
try to access an invalid index.
2009-12-20 19:35:13 +00:00
Mark de Wever
62669692b2
Use repeating buttons in the scrollbars.
2009-12-13 18:13:22 +00:00
Mark de Wever
bd83d922f5
Add a new repeating button widget.
...
A repeating button is button when pressed down will execute an action,
if the user keeps it pressed down for a longer time it will repeat
this action until released.
The main place where the widget was missed is the MP lobby, I haven't
tested it there much since the lobby is still to slow. This means once
the lobby is fast enough it needs more tuning.
The widget hasn't been wired in the scrollbars, which will be done in
the next commit.
2009-12-13 18:09:38 +00:00
Guillaume Melquiond
fad64d1df0
Made gui2 use the same tooltip settings as gui1.
2009-12-06 17:14:56 +00:00
Mark de Wever
09742a0832
Remove the explicit setting of initial_auto.
...
Since the last commit it's the default so no need to set it explicitly.
2009-11-27 20:41:16 +00:00
Mark de Wever
8a36972b28
Don't reserve space for scrollbars in a message.
...
Shadow_master discovered the problem that message dialogs always reserve
space for a scrollbar, also when the bar isn't used.
2009-11-27 19:39:54 +00:00
Tomasz Śniatowski
baa88c9100
hide the non-functional help button in new lobby
2009-11-17 14:39:46 +01:00
Mark de Wever
31bb203d0a
Another small mp lobby size improvement.
...
The chatlog now really fills the wanted area.
2009-11-15 14:02:49 +00:00
Mark de Wever
9dd4087d78
Let the player area grow.
...
After it's fully grown it's possible to let the list do it's own
resizing.
2009-11-15 12:51:58 +00:00
Mark de Wever
a49b6147b4
Don't reserve space for the scrollbars.
2009-11-15 10:10:27 +00:00
Mark de Wever
d6db02c284
Set the scrollbar mode for the MP lobby chatlist.
2009-11-14 21:43:54 +00:00
Mark de Wever
a90d22b94b
Add a special label for the scroll_label.
...
The old label was always centred which looked bad if the label is larger
as needed, now it's always starting on top.
2009-11-14 19:49:23 +00:00
Mark de Wever
e53fb069cc
Properly initially size the MP chat log.
2009-11-14 19:20:27 +00:00
Mark de Wever
1c8638c55d
Properly set the grow behaviour of the multi page.
2009-11-14 19:20:19 +00:00
Mark de Wever
73a9e41a15
Change log_text to a scroll_label in the lobby.
...
This simplifies the code.
2009-11-14 19:20:06 +00:00
Mark de Wever
ffb82c4110
Properly size the contents of the window.
...
This is a regression due to the scrollbars, noticed by ilor.
2009-11-03 20:28:46 +00:00
Mark de Wever
1459747252
Add better protection for images not fitting.
...
Some UMC uses listbox rowes with less than 20 pixes which caused images
to be resized to x - 20 which is negative and resulted into huge
positive numbers.
Modified the WML to return 0 in these cases and also added protection in
the engine to ignore those images. (The latter is needed since people
can create their own themes which might have this problem as well.)
Fixes bug #14525 and probably bug #14002 .
2009-11-01 12:15:26 +00:00
Mark de Wever
6015818a54
Add fallback scrollbars if a window doesn't fit.
...
This shows the scrollbars when a window doesn't fit, the code is only
lightly tested but initial tests seem to work. More testing is needed
especially on the MP lobby.
It still shows some scrollbars too often, which will be fixed later.
Fixes bug #13180 .
2009-10-26 21:22:24 +00:00
Mark de Wever
e663226f19
Fix the new-widgets addon list dialog.
...
This was probably broken by the commit that sets the id of the window
definition to the instance, didn't test it but quite sure.
2009-10-26 21:01:55 +00:00
Mark de Wever
0ddb237dc6
Revert 2009-10-14T21:36:49Z!koraq@xs4all.nl.
...
Don't try to switch branches when git svn dcommit is still running...
2009-10-14 21:47:24 +00:00
Mark de Wever
625cd7be9f
WIP
2009-10-14 21:36:49 +00:00
Ignacio R. Morelle
308d29ec07
Disable (gray out) the Update and Remove add-ons options...
...
...in the connection dialog when there are no add-ons installed.
2009-09-24 21:35:18 +00:00
Iurii Chernyi
aee65c442e
new features for gamestate_inspector
2009-09-19 22:03:41 +00:00
Mark de Wever
631ad1af74
Revert "DON'T COMMIT crab's WIP."
...
This reverts commit 38653.
2009-09-14 19:37:33 +00:00