Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Posts
    862
    Vote Rating
    21
    jep will become famous soon enough jep will become famous soon enough

      1  

    Default Does maxWidth/maxHeight/minWidth/minHeight actually DO anything?

    Does maxWidth/maxHeight/minWidth/minHeight actually DO anything?


    According to the docs, for Ext.Component:


    maxHeight : Number
    The maximum value in pixels which this Component will set its height to.

    Warning: This will override any size management applied by layout managers.


    maxWidth : Number
    The maximum value in pixels which this Component will set its width to.

    Warning: This will override any size management applied by layout managers.

    (etc.)

    However, near as I can tell they don't actually ever get used. The only reference I could find in any of the actual 1.0.1a code is:
    Code:
        adjustScale : function(){
            Ext.apply(this,{
                maxWidth : window.innerWidth,
                maxHeight : window.innerHeight,
                minWidth : window.innerWidth * .5,
                minHeight : window.innerHeight * .5
            });
        },
    in MessageBox.js. I think it's just ignored everywhere else. Am I missing something?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    3
    Vote Rating
    0
    qpido is on a distinguished road

      0  

    Default Same Question

    Same Question


    Dont know how to use maxHeight, minHeight, minWidth, maxWidth either...
    I need a Panel with to items, where one of them has an minHeight/maxHeight and
    the second item fills the rest of the height. How is this possible?

  3. #3
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Posts
    862
    Vote Rating
    21
    jep will become famous soon enough jep will become famous soon enough

      0  

    Default


    Use the property "flex" on the one that fills in the area and set the height of the other one. So, roughly:

    Code:
    new Ext.Panel({
      layout:{type:'vbox', align:'stretch'},
      items:[{xtype:'panel', flex:1}, {xtype:'panel', height:200}]
    });
    It's a little hard to find information about flex since it doesn't show up in the docs for Component, Panel, etc. But you can find it if you look at the docs for Ext.layout.VBoxLayout.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    3
    Vote Rating
    0
    qpido is on a distinguished road

      0  

    Default


    Thx for your reply, but its not exactly what I try to find out. But I realised, that my request is just not logically possible :P
    Still you doesnt explain how to use minHeight and maxHeight, if I get you right...

  5. #5
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Posts
    862
    Vote Rating
    21
    jep will become famous soon enough jep will become famous soon enough

      0  

    Default


    I'm sorry, but I really don't understand what you are trying to ask me. Are you asking for help on something, are you asking about what I'm talking about by reporting that the max/min/Height/Width properties in Sencha don't do what the help claims (or anything at all, actually)? Sorry for the confusion.

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Posts
    3
    Vote Rating
    0
    qpido is on a distinguished road

      0  

    Default


    Ahh okay, that max/min/Height/Width stuff is not working at all… cool :P
    Thank you anyway

  7. #7
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    97
    Vote Rating
    0
    mrduck is an unknown quantity at this point

      0  

    Default


    Did you find an answer on this question?
    The current version of ST1 doesn't like to respond on this parameter.

    /edit/
    Indeed, it doesn't seem to work. By applying a CSS stylesheet you can make it work. In the CSS stylesheet, put "max-height: XXXpx".

  8. #8
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Posts
    862
    Vote Rating
    21
    jep will become famous soon enough jep will become famous soon enough

      0  

    Default


    Nope, never did. And never expect to from Sencha staff. ST 1.x is more or less abandoned from my POV.

  9. #9
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    97
    Vote Rating
    0
    mrduck is an unknown quantity at this point

      0  

    Default


    True.

Similar Threads

  1. Flex minHeight and maxHeight
    By l.cresp in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 16 Nov 2010, 2:13 AM
  2. Replies: 0
    Last Post: 7 Jul 2010, 5:24 PM
  3. [CLOSED][3.1] Window, minHeight or minWidth on IE
    By TigersWay in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 31 Jan 2010, 6:27 PM

Thread Participants: 2