Author Topic: Is there a way of setting a widget's height to less than 2 pixels?  (Read 9927 times)

dandrea

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 2
  • Posts: 23
    • View Profile
Is there a way of setting a widget's height to less than 2 pixels?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Is there a way of setting a widget's height to less than 2 pixels?
« Reply #1 on: May 07, 2015, 05:19:18 PM »
Nay.

Unless you change the UIWidget script to allow it. It's for reasons™. (less than two behaves very oddly when moved around)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is there a way of setting a widget's height to less than 2 pixels?
« Reply #2 on: May 07, 2015, 09:34:06 PM »
Better question is why you'd want to... what's the point of having a 1 pixel label?

dandrea

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 2
  • Posts: 23
    • View Profile
Re: Is there a way of setting a widget's height to less than 2 pixels?
« Reply #3 on: May 08, 2015, 11:06:28 AM »
Basically, I have a widget with other things inside it and I want to "fold" it.

Works nice, but I end up with a pile of 2px widgets instead of making then going away for that while.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is there a way of setting a widget's height to less than 2 pixels?
« Reply #4 on: May 09, 2015, 04:24:53 AM »
So fold it... by adjusting its scale.