OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Spooner on 19 Jul 2008, 12:32:33

Title: Setting marker text size on map control
Post by: Spooner on 19 Jul 2008, 12:32:33
I have a map control which inherits from a control that is essentially just a copy of RscMapControl (from addons/ui.pbo:config.bin). This works fine, but the text next to ICON markers is really, really small compared to how they appear on the main map (I know that the size of the markers themselves is set with setMarkerSize). Does anyone know how the display size of marker text is configured in this case, because I'm lost here?

If you want to look at the config, look inside SPON Map (http://www.ofpec.com/forum/index.php?topic=31610.0):
    SPON/Core/ui/common.cpp (class SPON_rscMap)
    SPON/Map/ui/map.cpp (class Map : SPON_rscMap)
Title: Re: Setting marker text size on map control
Post by: Mandoble on 19 Jul 2008, 12:42:57
sizeExNames member of MAP control. Try sizeExNames = 0.06;
Title: Re: Setting marker text size on map control
Post by: Spooner on 19 Jul 2008, 13:13:57
Ack, yes! I missed that (as usual, I can't read). In the original config it is 0.056! Thanks, that sorted me out.