Home   Help Search Login Register  

Author Topic: Setting marker text size on map control  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Setting marker text size on map control
« 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:
    SPON/Core/ui/common.cpp (class SPON_rscMap)
    SPON/Map/ui/map.cpp (class Map : SPON_rscMap)
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Setting marker text size on map control
« Reply #1 on: 19 Jul 2008, 12:42:57 »
sizeExNames member of MAP control. Try sizeExNames = 0.06;

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Setting marker text size on map control
« Reply #2 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.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)