Search:

Type: Posts; User: vega109

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    3,891

    Send events from Ext3 to Ext4 objects?

    Hello,
    I have an Ext3 application which I want to extend with Ext4 draw functionality. For that I use the sandbox. The problem is that I can't handle an event in Ext4 sent from Ext3 object. Any...
  2. This code is called from a button on click event...

    This code is called from a button on click event handler.
  3. [CLOSED]Ignore Ext.draw.Sprite fill and stroke color in IE

    Hello,

    I have created a rectangle sprite with yellow fill and stroke but it shows a black one.


    new Ext.draw.Sprite( {
    type : "rect",
    surface : surface,
    opacity : .5,
    x : x,
  4. OK. I found a solution. This code works for both...

    OK. I found a solution. This code works for both IE and FF. A new problem it rotates only the first sprite in the composite sprite group.


    spriteGroup.setAttributes( {
    rotate : {
    degrees :...
  5. Replies
    1
    Views
    716

    [OPEN] I found a solution. Setup 360 degrees instead of...

    I found a solution. Setup 360 degrees instead of 0.
  6. Replies
    1
    Views
    716

    [OPEN] [CLOSED]Ext.draw.Sprite rotate issue

    Hello,

    I have a problem with rotating a sprite.

    This code doesn't work in IE:

    sprite.setAttributes( {
    rotation : {
    degrees : angle
    }
  7. [CLOSED]Error on sprite scale or rotate in IE

    Hello,

    I'm getting the following error after a sprite rotating or scaling:



    This is code to rotate a sprite:


    var sprite = Ext.getCmp('draw-component').surface.items.first();
  8. [CLOSED]CompositeSprite doesn't work properly in IE

    Hello,

    I have a problem with a composite sprite in IE7.

    This is a composite sprite declaration:

    var spriteGroup = new Ext.draw.CompositeSprite( {
    id : 'sprite_group',
    surface:...
  9. Replies
    1
    Views
    815

    I found a solution. Call show(true) after the...

    I found a solution. Call show(true) after the sprite changes.


    var sprite = Ext.getCmp('draw-component').surface.items.first();
    sprite.setAttributes( {
    scale : {
    x : value,
    y : value...
  10. Thread: Sprite invert

    by vega109
    Replies
    0
    Views
    474

    Sprite invert

    Hello,

    Does draw.Sprite component support Invert functionality? If it doesn't, is there any way to implement it using ExtJS 4?

    Thank you.
  11. Replies
    1
    Views
    815

    [CLOSED]Image scale issue in IE

    Hello,

    I'm working on image zoom in/out feature. There is a draw component with a image sprite inside:


    Ext.create('Ext.draw.Component', {
    id : 'draw-component',
    viewBox : false,
    width :...
  12. Replies
    2
    Views
    1,284

    Oops. I found the issue. I had to use 'rotate'...

    Oops. I found the issue. I had to use 'rotate' attribute instead of 'rotation'.
  13. Replies
    2
    Views
    1,284

    [CLOSED]Image rotate issue in IE

    Hello,

    I'm working on image rotating feature. I have a draw component that contains an image sprite.


    Ext.create('Ext.draw.Component', {
    id : 'draw-component',
    viewBox : false,
    width :...
  14. Replies
    5
    Views
    11,508

    Drawing shapes in ExtJS 4

    Hello

    I need to provide users an ability to draw lines, arrows, rectangles, etc. Is it possible to do with ExtJS 4 OOTB functionality or I have to create a canvas inside a component.

    Thank you.
  15. [CLOSED-EXTJSIV-948]Can't add a text sprite dynamically

    Hello

    I can't put a text sprite on a surface dynamically.
    Thank you!


    var drawCmp = Ext.getCmp('draw-component');
    var surface = drawCmp.surface;

    new Ext.draw.Sprite({
  16. Ext.draw.Sprite text: can't create dynamically

    Hello

    I need to put a text sprite dynamically on a surface. I was able to put a path and a rectangle sprites but no luck with a text one. Thank you!


    var drawCmp =...
  17. Thanks for the description but styles still don't...

    Thanks for the description but styles still don't apply to the text and I still can't break one long line to several short lines.
  18. [CLOSED]Ext.draw.Sprite type: 'text' - can't set up a text style

    Hello

    I create a draw component with a text sprite inside. It display me wrong font style and size ignoring configured 'font' parameter.

    Also is it possible to break a text in several lines? ...
  19. Replies
    2
    Views
    2,775

    Thanks!

    Thanks!
  20. Replies
    2
    Views
    2,775

    Ext.draw.Sprite as a line?

    Hello

    I need to display a line as a sprite. I found a rectangle, circle, ellipse, and path sprite types but I didn't find a line. Is it possible to draw a line somehow?

    Thank you.
  21. Replies
    2
    Views
    4,162

    Est.draw.Sprite scaling

    Hello

    Could you please explain me how Sprite scaling works? I tried this code but it didn't affect the sprite.
    My goal is provide zooming for a component image. Thanks!



    var sprite =...
  22. Ext.Component - no access to internal html element in FF

    Hello

    I have a component that has a textarea inside. The problem is I can't type to this textarea. It works in IE but it doesn't in FF.


    new Ext.draw.Component({
    floating : true,...
  23. [FIXED-EXTJSIV-861]Ext.draw.Component IE error: 'Attribute only valid on v:image'

    Hello

    I have the following code which works fine in FF but fails in IE.


    Ext.create('Ext.draw.Component', {
    id: 'draw-component',
    viewBox: false,
    width: 800,
    height: 1000,
  24. I have one Ext.draw.Component that has one image...

    I have one Ext.draw.Component that has one image Stripe inside. I want to create more stripes dynamically. Like this:


    Ext.create('Ext.draw.Component', {
    id: 'draw-component',
    viewBox: false,...
  25. Add Ext.draw.Stripe to Ext.draw.Component dynamicaly

    Hello

    I need to create and add new Stripes to Ext.draw.Component dynamically. Is any options to do that?

    Thank you.
Results 1 to 25 of 33
Page 1 of 2 1 2