Aircraft Center: tweaking/typos.
- Increase default size. - Run parse_markdown on description to remove multi whitespace, possible present in catalog.xml and also support simple, one-level bullet point lists.
This commit is contained in:
parent
102e6b88e2
commit
cba00d9217
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
var AircraftCenter = {
|
||||
show: func
|
||||
{
|
||||
var dlg = canvas.Window.new([550,500], "dialog")
|
||||
var dlg = canvas.Window.new([600,500], "dialog")
|
||||
.set("title", "Aircraft Center")
|
||||
.set("resize", 1);
|
||||
dlg.getCanvas(1)
|
||||
|
@ -19,7 +19,7 @@ var AircraftCenter = {
|
|||
});
|
||||
|
||||
var info_text =
|
||||
"Install/remove aircrafts (Showing " ~ size(packages) ~ " aircrafts)";
|
||||
"Install/remove aircraft (Showing " ~ size(packages) ~ " aircraft)";
|
||||
|
||||
vbox.addItem(
|
||||
gui.widgets.Label.new(root, style, {wordWrap: 1})
|
||||
|
@ -104,7 +104,7 @@ var AircraftCenter = {
|
|||
title_box.addItem(b);
|
||||
})();
|
||||
|
||||
var description = package.description;
|
||||
var description = parse_markdown(package.description);
|
||||
if( size(description) <= 0 )
|
||||
{
|
||||
foreach(var cat; ["FDM", "systems", "cockpit", "model"])
|
||||
|
|
Loading…
Add table
Reference in a new issue