Autosize objects?
#1
Hi.

A textbox is supposedly able to autosize. Doesn't work. Doesn't matter..
Is there a way to dynamically size objects?

In my wip skin I overexpose albuminfo on a darkened transparent area that is again overexposed on the fanart. I have no choice but to darken a fixed size area. Looks stupid be because some albuminfo texts are short and some are long.

I want the textbox to autosize and bottomalign with the fanart.
I want the darkened area (image) to autosize with the teztbox.

If python is necessary then so be it.

Halp plaese :-)
Reply
#2
Use
Code:
<height>auto</height>

No bottom align but you can fake it inside a grouplist -

https://github.com/HitcherUK/skin.copace...fo.xml#L41
Reply
#3
Thanks Hitcher.

I still dont know how to make the darkened area match the size of the textbox?
The teztbox is either doing text align bottom or resizing. I cannot tell the difference. But its nice.
Reply
#4
Code:
Container(ID).HasNext
Reply
#5
Pardon my lack if knowledge but that hint left me looking very confused. :-)
Reply
#6
This will tell you if the textbox has more pages or not which is what you need to know for the darkened area right?
Reply
#7
Most likely.. Would you kindly chew it up for me further?

Keep in mind I am new to this.

I will explain what my goal is again:
I need the textbox to have a darker area "below" - as in zindex below - to improve readability because it is overexposed on the fanart. The only way I know of is to add an image control for this and place it at the same coordinates aa the texbox, and drawn before the textbox. But I have no clue how to make the image resize to match the textbox (with a margin ofcpurse)

Is the grouplist control able to crop the image?

it is very possible that a better method exist that I don't know of!

Thanks for your patience :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Autosize objects?0