Jump to content

picyka

uniGUI Subscriber
  • Posts

    1063
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by picyka

  1. picyka

    Canvas

    The image does not save
  2. picyka

    Canvas

    What am I doing wrong to save the image? Canvas.zip
  3. Any tips to remove these errors in the console, I can't see errors in the console, I think I have some mental problem.
  4. I can't change the font size in a unimMemo .fontMemo .x-textfield .x-input-el { font-size: 12px !important; }
  5. Good morning, thank you for your availability, the result is nice, the only thing that could be better (I think) would be the issue of the superir container not generating a scrollbar, but being the ideal size
  6. Very cool, I tried to put more controls, could you help me? Technique2.zip
  7. I use it with a UniComboBox
  8. I was never able to do this in UniTreeMenu, my way out was to throw the menus in a combo
  9. Has anyone used nginx with websocket? if yes, how to solve 60s timeout any tips will be welcome.
  10. Just out of curiosity, what is a person going to do with 100,000 records on the screen?
  11. function store.nodeappend(sender, node, index, eOpts) { var _this=this; this.treePanel.getItem(node).el.on('mouseover', function() { textMetrics = new Ext.util.TextMetrics(); tWidth = textMetrics.getWidth(node.data.text); tWidth += (35 * node.data.depth); tWidthMenu = _this.treePanel.getWidth(); if (_this.treePanel.getEl().getHeight() !== _this.treePanel.getEl().dom.scrollHeight) { tWidthMenu -= 40; } if (tWidth > tWidthMenu) { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', node.data.text); } }); this.treePanel.getItem(node).el.on('mouseout', function() { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', ''); }); } It was like this. For me to understand, in your code you are introducing a function in the obj TreeMenu? function afterCreate(sender) { sender.isScfrollVisible = function() { return sender.treeMenu.getEl().getHeight() !== sender.treeMenu.getEl().dom.scrollHeight } }
  12. tWidth += (50 * node.data.depth); tWidthMenu = _this.treePanel.getWidth(); if _this.treePanel.scrollBarIsVisible { tWidthMenu -= 15 } if (tWidth > tWidthMenu) { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', node.data.text); } I need to know if the scroolBar is visible, because if it were visible, the width of the menu would be smaller. I made an example code, I don't know if there's a way to know if the scroll is visible
  13. {$IFDEF DEBUG} Self.BackButtonAction := bbaDoNothing; {$ELSE} Self.BackButtonAction := bbaWarnUser; {$ENDIF}
  14. In my case here, sometimes I have the scrollbar active, I would have to know that it is active and discount the width of the menu
  15. Я думаю, что я передал неправильный вариант, есть один, который спрашивает, хочет ли пользователь выйти из приложения.
  16. Testing better here, it doesn't work as expected, it would be nice if you know that the menu has...
  17. function store.nodeappend(sender, node, index, eOpts) { var _this=this; this.treePanel.getItem(node).el.on('mouseover', function() { textMetrics = new Ext.util.TextMetrics(); tWidth = textMetrics.getWidth(node.data.text); tWidth += (50 * node.data.depth); if (tWidth > _this.treePanel.getWidth()) { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', node.data.text); } }); this.treePanel.getItem(node).el.on('mouseout', function() { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', ''); }); } Sorted out
  18. if (tWidth > _this.treePanel.getWidth()) { _this.treePanel.getItem(node).el.dom.setAttribute('data-qtip', node.data.text); } The problem is with this rule.
  19. I have some rules there that prevent it from working, can you help me? Demo.zip
  20. picyka

    Update System

    We have to wait for the new version with webSocket to come out.
  21. Does your system have a memory leak?
  22. picyka

    Socket

    Good morning, I use 3 layers, so the socket server was out of unigui, by the tests I did it works. Note: It's still in testing, when it comes out native in unigui, I can change it.
×
×
  • Create New...