![]() |
|
|||||||
| SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to scroll text?
If you have a text panel and the text is too big for that text panel - what are the steps required to make the text scroll when that component is focused?
I was looking for a "scroll text" checkmark in the text properties - but didn't see it :-)
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
|
#2
|
||||
|
||||
|
I just had this same issue. The solution was to write a completely new text entry dialog from scratch (with help from jaminben) which handles every keystroke and takes the necessary actions. It was a PITA.
PM me your email address and I'll send you the code I developed. I don't recommend starting from scratch.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
|
#3
|
|||
|
|||
|
Or you could just copy smm method which is much easier
|
|
#4
|
||||
|
||||
|
And where would somebody interested in plagiarizing your work look to find that?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
|
#5
|
||||
|
||||
|
If you're talking about text display (not text input), then you need to set the panel's Scrolling property to Vertical and provide a set of scrollbar controls that fire the Page Up and Page Down events when clicked. There are plenty of examples of this in the stock STV (e.g. the Airing Details or System Information screens).
__________________
-- Greg |
|
#6
|
|||
|
|||
|
Smm list view I found a better way of doing it but haven't updated fully the only difference is I clip it now to stay in the box.
|
|
#7
|
||||
|
||||
|
Does it also handle editing the text using arrows, Insert, Delete, Backspace, Home and End keys? That was important functionality and I didn't find any existing STV code that did that. I *think* SageMC had that capability but it was implemented in java and would require a dependency on one of the SageMC JAR files.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
|
#8
|
|||
|
|||
|
Confused why would you want to edit scrolling text?
|
|
#9
|
|||
|
|||
|
Quote:
However, I certainly don't want to start from scratch.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
|
#10
|
|||
|
|||
|
Quote:
Vertical?? That seems really counter intuitive to me.. I didn't remember anything auto-scrolling in the stock STV.. I will go take a look.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
|
#11
|
|||
|
|||
|
Email sent!
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
|
#12
|
||||
|
||||
|
In the stock STV, and anywhere else I looked, if you are using text input and the length of the text exceeds the size of the text input area the text gets "cut off" on the right side and it just displays as "...".
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
|
#13
|
||||
|
||||
|
Sorry, I assumed you were trying to make a vertically-scrollable panel of wrapped text (like the examples I cited).
But if your goal is a single line of horizontally-scrollable text, the same considerations should apply. Just choose Horizontal instead of Vertical scrolling on the panel, and disable word-wrapping on the Text widget. Or are you talking about a ticker-style text display that scrolls continuously without user intervention? That would be a different kettle of fish. So maybe you could clarify exactly what you're trying to do so we can target our advice appropriately.
__________________
-- Greg |
|
#14
|
|||
|
|||
|
Quote:
I am trying to do exactly what plucky does in SMM list view. I have text that is too big to fit into a single text area. I don't like how it looks when the text is "shrunk" to fit. When the user move the focus to the text, I want the text to automatically scroll so the user can see the full title text.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
|
#15
|
|||
|
|||
|
Quote:
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
|
#16
|
|||
|
|||
|
Quote:
sigh - that thing looked pretty :-)
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can't scroll in some menus | dlevey | SageTV Media Extender | 4 | 04-26-2010 11:57 AM |
| Mouse scroll button | WeidnerJ | SageTV Software | 2 | 09-27-2009 02:38 PM |
| Why do Sage scroll bars work differently than all the other scroll bars in the world? | Chriscic | SageTV Software | 10 | 07-26-2009 10:23 AM |
| New Time Scroll functionality? | Opus4 | SageTV Software | 3 | 05-15-2004 03:10 AM |
| How can I scroll the info screen??? | potpiejimmy | SageTV Beta Test Software | 0 | 01-26-2004 11:34 AM |