mohseni137's Recent Forum Activity

  • Hi all

    I want Add css style to rex-bboxtext plugin

    In runtime.js file i whant add css style(like direction= rtl) by jquery,

    But i have some problem,

    Please help me to complete this small of code:

    jQuery("*").css("direction", "rtl");

    by use this code i have this css style(direction) for all element inside the my layout

    I insert it below line 78 in runtime.js

    Like this:

    instanceProto.onCreate = function() { jQuery("*").css("direction", "rtl"); this.text = ""; this.set_text(this.properties[0]); this.visible = (this.properties[1] === 0); // 0=visible, 1=invisible // "[bold|italic] 12pt Arial" this.font = this.properties[2]; this.color = this.properties[3]; this.halign = this.properties[4]; // 0=left, 1=center, 2=right this.valign = this.properties[5]; // 0=top, 1=center, 2=bottom this.textShadow = "";

    .but i want that for this bboxtext object.like textBox object that use this.elem instide of * value.

    I konw some javascript & jquery but i cant fix this problem.

    Please help me to fix this code line

    Plugin link.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi

    Can Add Some propertis to BBCodeText plugin

    Text Direction--> right to left(rtl)[like Css Style] & Left to right

    Text Align --> Right or left

    This two option is so important when type multi-language word mixed in one BBCodeText object.

    Can Add CSS Style to BBOXText plugin?

mohseni137's avatar

mohseni137

Member since 13 Jun, 2018

None one is following mohseni137 yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies