Fix the Awards tab size

master
Solebull 2019-08-10 04:42:46 +02:00
parent af2d3bc735
commit d9c7ef0002
3 changed files with 5 additions and 3 deletions

View File

@ -254,6 +254,7 @@ It's really fast. May be used on a website, to show the actual map.
- [ ] Make a new mod called spawn
Maybe used with https://github.com/octacian/spawnpoint
**** TODO [feature_FactionUI] Try to add a factions UI
CLOCK: [2019-08-10 sam. 04:38]--[2019-08-10 sam. 04:42] => 0:04
CLOCK: [2019-06-10 lun. 02:17]--[2019-06-10 lun. 02:33] => 0:16
CLOCK: [2019-06-10 lun. 01:56]--[2019-06-10 lun. 02:17] => 0:21
CLOCK: [2019-06-09 dim. 22:28]--[2019-06-10 lun. 00:13] => 1:45
@ -268,7 +269,7 @@ It's really fast. May be used on a website, to show the actual map.
- [X] First list actual factions
- [X] Updating actual formspec will be hard
- [X] Feed label content with factions infos
- [ ] Should fix the Awards tab height
- [X] Should fix the Awards tab height
- [ ] Members and leader still at nil
- [ ] Add the invite-only value
- [ ] Just add a create button with a name textedit

3
TODO
View File

@ -11,7 +11,8 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
* v0.0.2-6 (11 Mar. 2019 - ???) CLOC ???,???
- (7) factions_ui get some selected faction details
- (8) Fix the Awards tab size
- factions_ui get some selected faction details
- Update factions formspec in real time
- Shows the factions_ui inventory page
- Start the factions_ui mod

View File

@ -410,7 +410,7 @@ function awards.getFormspec(name, to, sid)
end
-- Create list box
formspec = formspec .. "textlist[4.75,0;6,5;awards;"
formspec = formspec .. "textlist[4.75,0;4,8.5;awards;"
local first = true
for _,award in pairs(listofawards) do
local def = awards.def[award.name]