From cd1f80f2c1b688f2f360261d7a6e2a41e8b7db96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 25 Mar 2023 00:12:06 +0100 Subject: [PATCH] Label sizes adjustment --- src/map/ENC/style.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index 023cbaad..d48915bf 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -178,9 +178,9 @@ void Style::pointStyle() { _points[SUBTYPE(BUAARE, 1)].setTextFontSize(Large); _points[SUBTYPE(BUAARE, 5)].setTextFontSize(Large); - _points[SUBTYPE(BUAARE, 3)].setTextFontSize(Small); + _points[SUBTYPE(BUAARE, 4)].setTextFontSize(Large); + _points[SUBTYPE(BUAARE, 2)].setTextFontSize(Small); _points[SUBTYPE(BUAARE, 6)].setTextFontSize(Small); - _points[SUBTYPE(BUAARE, 0)].setTextFontSize(Small); _points[TYPE(SOUNDG)].setTextFontSize(Small); _points[TYPE(SOUNDG)].setHaloColor(QColor()); _points[TYPE(BOYCAR)] = Point(QImage(":/marine/buoy.png"), Small); @@ -234,8 +234,8 @@ void Style::pointStyle() _points[SUBTYPE(MORFAC, 5)] = Point(QImage(":/marine/pile.png"), Small); _points[SUBTYPE(MORFAC, 7)] = Point(QImage(":/marine/mooring-buoy.png"), Small); - _points[TYPE(CRANES)] = Point(QImage(":/marine/crane.png")); - _points[TYPE(I_CRANES)] = Point(QImage(":/marine/crane.png")); + _points[TYPE(CRANES)] = Point(QImage(":/marine/crane.png"), Small); + _points[TYPE(I_CRANES)] = Point(QImage(":/marine/crane.png"), Small); _points[SUBTYPE(I_DISMAR, 1)] = Point(QImage(":/marine/distance-mark.png"), Small); _points[SUBTYPE(I_DISMAR, 1)].setTextColor(QColor("#ffffff")); @@ -251,7 +251,7 @@ void Style::pointStyle() _points[TYPE(RTPBCN)] = Point(QImage(":/marine/radar-transponder.png")); _points[TYPE(SILTNK)] = Point(QImage(":/marine/silo.png")); _points[TYPE(I_TRNBSN)] = Point(QImage(":/marine/turning-basin.png")); - _points[TYPE(I_WTWGAG)] = Point(QImage(":/marine/gauge.png")); + _points[TYPE(I_WTWGAG)] = Point(QImage(":/marine/gauge.png"), Small); _points[TYPE(I_RDOCAL)].setTextColor(QColor("#eb49eb")); _points[TYPE(PYLONS)] = Point(QImage(":/marine/pylon.png")); _points[SUBTYPE(I_BERTHS, 6)] = Point(QImage(":/marine/fleeting-area.png")); @@ -260,7 +260,7 @@ void Style::pointStyle() _points[SUBTYPE(WATTUR, 4)] = Point(QImage(":/marine/overfalls.png")); _points[TYPE(PILBOP)] = Point(QImage(":/marine/boarding-place.png")); _points[TYPE(SISTAT)] = Point(QImage(":/marine/pylon.png")); - _points[TYPE(SLCONS)] = Point(QImage(":/marine/construction.png")); + _points[TYPE(SLCONS)] = Point(QImage(":/marine/construction.png"), Small); _points[SUBTYPE(SMCFAC, 7)] = Point(QImage(":/POI/restaurant-11.png"), Small); _points[SUBTYPE(SMCFAC, 11)] = Point(QImage(":/POI/pharmacy-11.png"), Small);