Charles Dang
fdb8b392c1
tpreferences: removed old Hotkey button under General
2016-03-01 08:02:11 +11:00
Charles Dang
cc8b2d0cd0
tpreferences: renamed pref panel files in order of appearance (fixup 7f5fe8c7f6
)
...
Since these files are included directly by WML and their number prefixes determines
the order in which the preprocessor reads them, they have to be renamed.
2016-03-01 07:52:53 +11:00
Charles Dang
854acb192b
tpreferences: restore display of optional hotkey icons
2016-03-01 07:22:02 +11:00
Charles Dang
2bc3faf1b6
tpreferences: used fixed_height = true to enforce side panel icon sizes
...
For some reason, the 72 px height of the space wasn't functioning as expected.
This does the same job correctly
2016-03-01 06:55:11 +11:00
Charles Dang
12ba9bd5c7
tlistbox: move header and footer grids out of main grid (workaround for bug #23752 )
...
This isn't a perfect solution, as it renders horizontal scrollbars incapable of
affecting either. However, I'm working on the assumption that most listbox uses
have (or should have) horizontal_scrollbar_mode = "never" in their WML.
2016-03-01 06:40:00 +11:00
Charles Dang
858c3fbe69
tpreferences: added Defaults button to hotkeys panel (WML only)
2016-03-01 06:20:28 +11:00
Charles Dang
65fe7ddea6
tpreferences: cleaned up layout of Hotkeys panel
2016-03-01 06:15:22 +11:00
gfgtdf
0efda655b8
port hotkey preferences dialog to gui2
2016-02-29 19:33:00 +01:00
Charles Dang
5c897703ec
tgame_save: specify a maximum savefile name length
...
The value is taken from a suggestion by shadowm on bug #23632
2016-03-01 02:06:38 +11:00
Charles Dang
fb0285c27f
ttext_box: added support for defining a maximum input length
2016-03-01 02:05:15 +11:00
Charles Dang
9afb987574
tgamestate_inspector: display as fullscreen window and adjusted layout as relevant
2016-02-27 13:10:28 +11:00
Charles Dang
6b827e68d4
GUI2: added a macro for fullscreen window layout settings
2016-02-27 13:03:12 +11:00
Celtic Minstrel
2e36ed230f
Use widget groups in the advanced graphics options dialog
2016-02-26 03:34:10 -05:00
Charles Dang
05411b6d34
tpreferences: made sure Scroll Speed slider fills all available space
2016-02-23 19:42:39 +11:00
Charles Dang
1a6bfca903
tpreferences: cleaned up some unnecessary grid nesting
2016-02-23 19:40:58 +11:00
Ignacio R. Morelle
74973218b1
Revert "gui2: dropped repeating buttons from scrollbars"
...
This reverts commit 04d510a91c
.
2016-02-22 19:06:59 -03:00
Charles Dang
847ee990a3
Fixup e8c3fdb238
...
This makes the dialog look good at 800x480 again
2016-02-23 01:02:22 +11:00
Charles Dang
e8c3fdb238
tcampaign_dialog: add support for setting alignment of description text from WML
2016-02-23 00:47:54 +11:00
Charles Dang
b57def5130
ttitle_screen: use a standard label definition for version label
...
Since this label no longer has a special background, the custom definition isn't
necessary anymore.
2016-02-22 23:48:53 +11:00
Charles Dang
5aa86c42f0
Moved scrollbar images to their own folder
2016-02-22 23:35:23 +11:00
Charles Dang
04d510a91c
gui2: dropped repeating buttons from scrollbars
2016-02-22 23:30:47 +11:00
Charles Dang
67cf95a5af
gui2: cleanup of the text box widget design
...
This reduces border size as well as removes a hack related to transparent
backgrounds and text rendering. I can't observe any issue with text AA
using semi-transparent backgrounds anymore.
2016-02-22 22:07:14 +11:00
Charles Dang
710b1fc3af
tgame_load: very subtle layout fix
...
The Delete button wasn't perfectly aligned with the listbox scrollbar
on the right.
2016-02-22 21:38:10 +11:00
Charles Dang
34153effa8
gui2: removed borders from usecases of listbox_header type toggle buttons
...
This deliberately excludes the addon_list dialog, since work is being done
on that elsewhere.
2016-02-22 21:28:54 +11:00
Charles Dang
81389f4c88
gui2: tweaked layout of listbox header toggle button definition
...
This lays out the text by a 5 left offset, alleviating the necessary use
of a border in dialogs using this widget, since borders meant that the
colors backgrounds would not be drawn. As such, any use of this widget
should *not* have borders defined.
2016-02-22 21:28:00 +11:00
Charles Dang
ad84686989
tpreferences: tweaked layout of Font Scaling slider
2016-02-21 20:01:21 +11:00
Charles Dang
6d48d72b7b
tpreferences: move composite slider definition to main file
...
This makes it available to all preference subfiles
2016-02-21 19:30:03 +11:00
Celtic Minstrel
742d17932f
Merge pull request #603 from CelticMinstrel/prefs_stuff
...
Font scaling and reimplemented orb colors
2016-02-21 01:34:57 -05:00
Celtic Minstrel
6848a6d596
Preferences: code cleanup and minor bugfix
2016-02-21 00:38:27 -05:00
Ignacio R. Morelle
b04c158e89
gui2/tpreferences: Macro scope cleanup
2016-02-20 23:16:26 -03:00
Charles Dang
4ad4722160
tpreferences: slight height bump
2016-02-21 13:01:08 +11:00
Charles Dang
a6101bf80d
gui2: tweak title-style label design
2016-02-21 12:59:52 +11:00
Charles Dang
d361754806
tunit_attack: specify characters per line for attack name details
2016-02-21 12:22:52 +11:00
Charles Dang
85fefbe5b8
Improve design of Orb toggle buttons
2016-02-20 19:55:53 -05:00
Celtic Minstrel
38ddbb98f2
Preferences: Reimplement orb color options
2016-02-18 01:13:10 -05:00
Celtic Minstrel
270d3fd482
Preferences: Implement a font scaling option
...
This is currently incomplete - it only works for GUI2 text.
2016-02-18 01:12:56 -05:00
Ignacio R. Morelle
5e6da3f9aa
gui2/tpreferences: Fix button labels case
2016-02-14 15:50:04 -03:00
Ignacio R. Morelle
bd8066313c
gui2/tmp_alerts_options: Substantial dialog design cleanup
...
This primarily consists of rearranging things slightly to make the
dialog more visually balanced, and moving text out of (non-functional)
tooltips into a more visible explanation area.
The control buttons at the bottom also get some additional padding above
so that the Defaults button doesn't look somehow visually tied to the
toggle buttons row directly above it.
Also, fixed macro definitions to match the conventions laid out in
data/gui/default/macros/_initial.cfg.
2016-02-13 06:22:15 -03:00
Charles Dang
f43ed4161e
taddon_list: cleaned up layout to bring it in line with production design
2016-02-13 10:09:56 +11:00
Charles Dang
63763774bc
GUI WML cleanup: strip unless size_text keys as well as ones with empty attributes
2016-02-13 09:35:06 +11:00
Charles Dang
0394fe0a34
tpreferences: display descriptions of advanced preferences if available
2016-02-12 08:34:42 +11:00
Charles Dang
4e5a42cc42
tpreferences: refactored Advanced section to use a listbox
...
This allows the details widgets to stay in the same listbox cell as the main
displayed names
2016-02-10 19:51:08 +11:00
Charles Dang
acd46a8353
gui2/tmp_alerts_options: applied some formatting
2016-02-10 19:51:06 +11:00
Charles Dang
faf5d82a4e
gui2/tpreferences: switch back to Alerts dialog (as opposed to tab) for now
2016-02-10 19:51:05 +11:00
Charles Dang
9eecc28ef9
Moved 'Accept whispers from friends only' pref from Advanced to Multiplayer
2016-02-10 19:51:02 +11:00
Charles Dang
b7d56e0c11
gui2/tpreferences: implemented new gui2 Preferences dialog
2016-02-10 19:51:01 +11:00
Charles Dang
d21235deb5
Added definition for small-size scroll label
2016-02-06 20:19:44 +11:00
Charles Dang
352bd1cae2
Removed Titlescreen Animation option and related code
2016-02-06 20:19:42 +11:00
Ignacio R. Morelle
677e7077ae
gui2/tpreferences: initial layout
2016-02-06 20:19:39 +11:00
Charles Dang
aad0e02d10
taddon_list: strip debug borders
2016-02-05 00:20:00 +11:00