NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 40 41 42 43 44 … 125 Next »
Texts in controls are not hidden when too long

 
  • 0 Vote(s) - 0 Average
Texts in controls are not hidden when too long
antieso
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Dec 2006
#1
2006-12-13, 03:39 PM (This post was last modified: 2006-12-14, 10:57 AM by antieso.)
Hi everybody,

I'm sorry I'm a newbie on GBPVR and I don't know if forgot some parameter but the controls' texts are often too long to be completely in the control area and a part is displayed under the control.

I must say that I use the french translation.

Is that possible to avoid this problem ?

Thanks in advance for your help
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#2
2006-12-13, 03:42 PM
What skin are you using? The length of the text field is specified by the skin.

Jeff
antieso
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Dec 2006
#3
2006-12-13, 06:35 PM
I use the default blue theme...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2006-12-13, 07:10 PM
The text is automatically clipped to the box defined in the skin, but I'm guessing I've defined some of those boxes a bit too big.

There is no easy way to test each screen for the maximum displayable data, unless I happen to have real data which is long in those fields. Post a screen and I'll try to fix it up for the next release.
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#5
2006-12-13, 07:24 PM (This post was last modified: 2008-03-16, 08:18 PM by Fatman_do.)
Quote:I'm sorry I'm a newbie on GBPVR and I don't know if forgot some parameter but the controls' texts are often too long to be completely in the control area and a part is displayed under the control.

It is a "word wrap" type of issue where the string is longer than the box width. If you decrease the vertical height of the field, you shouldn't see wrapping text, just clipping.

In the Main Menu skin.xml file, find and change these lines:

What it is now:
Code:
<DrawText text="@buttonText" loc="15,8" size="[B][color=Red]155,34[/color][/B]" textStyle="ButtonText" align="Left" />


Suggested change:
Code:
<DrawText text="@buttonText" loc="15,8" size="[B][color=Red]140,25[/color][/B]" textStyle="ButtonText" align="Left" />

(Decreasing length makes it so text does not protrude beyond button image, but increases the amount clipped.)
[ATTACHMENT NOT FOUND]
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#6
2006-12-13, 10:38 PM
In the skin X-Theme I made the buttons wide enough, so German or French translation would fit in the buttons.
Buttons are also transparent, so changing background would also work good.

I would also like to thank Fatman_do for his excellent work with helping out in this forum :-)
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2006-12-13, 11:11 PM
Fatman_do Wrote:It is a "word wrap" type of issue where the string is longer than the box width. If you decrease the vertical height of the field, you shouldn't see wrapping text, just clipping.

In the Main Menu skin.xml file, find and change these lines:

What it is now:
Code:
<DrawText text="@buttonText" loc="15,8" size="[B][COLOR=red]155,34[/COLOR][/B]" textStyle="ButtonText" align="Left" />


Suggested change:
Code:
<DrawText text="@buttonText" loc="15,8" size="[B][COLOR=red]140,25[/COLOR][/B]" textStyle="ButtonText" align="Left" />

(Decreasing length makes it so text does not protrude beyond button image, but increases the amount clipped.)
[ATTACHMENT NOT FOUND]
Cheers, I've made this change to the master skin.
antieso
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Dec 2006
#8
2006-12-14, 10:56 AM
Thanks a lot for your help !!! Smile

That's perfect now !
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugin: Set of UI Controls dero 4 1,939 2008-12-08, 04:46 PM
Last Post: dero
  Texts to big for their windows BigAlUK 12 3,989 2008-03-12, 02:03 PM
Last Post: K.S.
  Pulling out films/long shows on the guide thawk 7 2,729 2006-02-22, 02:50 AM
Last Post: thadguidry
  Theater Plugin, Skin, Long Title ydekmekji 0 1,160 2006-01-08, 01:25 AM
Last Post: ydekmekji
  My Videos long time to load a directory jam_zhou 3 1,650 2005-10-23, 09:31 PM
Last Post: reven
  Web admin: many short prog with long names mess up the screen erik 0 1,042 2005-09-13, 01:16 PM
Last Post: erik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode