Coloring text of combobox with listview via css
Hy there,
i try to color my text of my combobox's list view when
the selection is done and i hover over it.
.combo-box-popup .list-view .list-cell:filled:selected, .combo-box-popup .list-view .list-cell:filled:selected:hover
-font-color:white;
-fx-background-color: #666666;
The background colores right but the font doesnt change its color
tried also -fx-text-filled: white;
Are there any solutions or bugs known ?
BR
Edited by: 953924 on 19.11.2012 07:48
Hy there,
i figured out that i had to do the following:
.combo-box-popup .list-view .list-cell:selected .text {
-fx-fill: white;
-fx-fill instead of filled and only to depict the text item ;)
BR
Similar Messages
-
I have been asked about providing this as a way to secure RDP connections - has anyone done this?
I can see two potential ways, but do not know much about RDP.
How is the SSL part of RDP initialised? would it be prractical to terminate the SSL on the CSS in a similar manner to SSl for HTTP?
The other option would be to "blind" load balance the encrypted traffic straight to the servers, and let them sort SSL.
Thanks,
Paul.Hi Paul,
what we have done here is to deploy an MS ISA Server farm behind the CSS: client SSL connection terminate at ISA external interface, and ISA starts a new internal SSL connection to a MS TS_Gateway . So RDP over SSL traffic is: internet client ---> Firewall ---> CSS ---> ISA farm (in DMZ) ---> Firewall ---> TS_Gateway (internal network)---> TS Server (internal network)
(see for example: http://technet.microsoft.com/en-us/library/cc731353(WS.10).aspx) -
How to color a table view header's text via css
I have managed to change font-name, background and text alignment of my table view header, but the text-fill line is just ignored! What's the correct way to do this?
Example:
.table-view .column-header, .table-view .filler {
-fx-text-fill: white;
-fx-font-family: "Helvetica";
-fx-font-size: 10px;
-fx-font-weight: bold;
-fx-size: 25;
-fx-border-style: solid;
-fx-border-insets: 0 1 1 0, 0 0 0 0;
-fx-border-width: 0.083333em, 0.083333em;
I also added:
.table-view.column-header.label{
-fx-text-fill: white;
Wich was recommended on a site, but didn't work either..I think you need
.table-view .column-header .label{
-fx-text-fill: white;
}(with spaces between the class selectors). -
Fade From B&W To Color With Full Color Text Animation Overlay
So, this is my first time EVER using any kind of serious video editing software. I'm doing it LEGALLY using the University Macs and the software that is installed on it. I'm a TOTAL novice at all of this. I think I'm biting off on more than I can handle, but hopefully somebody can help with this. I want a clip at the very beginning of the video to start with B&W video and fade into color at a specific point that corresponds with a point in some music that I'm using as the "soundtrack" so to speak. There will be a colored text animation that begins during the B&W portion and then that text will need to fade before the B&W video fades to color. I've been looking for as much information as I can about this. I've looked at youtube tutorials and step-by-step text tutorials (I prefer text with screenshots) on how to do this, but nothing that I find seems to accommodate everything that I'm trying to do here. If somebody would be so kind and patient enough as to humor a complete NOOB and walk me through this as though they're talking to a 12-year-old (I'm 37) who knows NOTHING about video editing, it would be greatly appreciated. Thank you so much.
(...and don't mind the german)
use the roll - tool on the edit for timing.
To get the basics down, please watch:
Learn Premiere Pro CC | Adobe TV
especially helpful in your case:
Editing to the Timeline | Learn Premiere Pro CC | Adobe TV
Refining the edit | Learn Premiere Pro CC | Adobe TV
Adding transitions | Learn Premiere Pro CC | Adobe TV
Adding and adjusting titles | Learn Premiere Pro CC | Adobe TV -
Color conflict when printing text boxes layered with images
Thank you in advance for any insight on this question. I've got a text box grouped with an image in a Pages document. The text box is layered in front of an object and is transparent (no fill color in the text box). The object however, is filled with a color. When printing the document, the image comes out in two shades of blue even though the text box is transparent. Thoughts?
Want to add that if you uncheck the Retain Slide Quality Settings, you'll have to keep the High setting.
Another way to change slide quality is before publishing, and in that case I prefer Optimized to High (which is not possible when overriding the Slide Quality on publishing, there you only have the choice between Low and High).
Still I'm puzzled because the simple TEB normally do not cause that kind of quality issue, have seen it happening with shapes (because they have transparent pixels) and images, but with TEB's? Wondering
Lilybiri -
Combobox with LOV showing ID but would like to display more meaningful text
Hi, I'm experimenting with JDeveloper 11.2.
I have a base table/eo with an FK ID to another table/eo which is a lookup table.
On the base tables view I have created a combobox with LOV but it is showing the ID and I'd like it to show the name from the lookup table.
So rather than showing the ID 1 I'd like it to show James instead.
I can just about remember being able to do this in Oracle Designer.
I know this is something stupid but I've searched Google and not come up with anything.
CREATE TABLE ACCOUNTS
ACCOUNT_ID NUMBER NOT NULL,
ACCOUNT_LOGIN VARCHAR2(30 CHAR) NOT NULL,
FIRST_NAME VARCHAR2(50 CHAR) NOT NULL,
LAST_NAME VARCHAR2(50 CHAR) NOT NULL,
EMAIL VARCHAR2(150 CHAR),
CREATED_TIMESTAMP TIMESTAMP(6) WITH LOCAL TIME ZONE DEFAULT SYSTIMESTAMP NOT NULL
ALTER TABLE ACCOUNTS ADD (
CONSTRAINT ACCOUNTS_PK
PRIMARY KEY
(ACCOUNT_ID));
CREATE TABLE ACCOUNT_MODULE_ROLES
ACCOUNT_MODULE_ROLE_ID NUMBER NOT NULL,
ACCOUNT_ID NUMBER NOT NULL,
MODULE_ID NUMBER NOT NULL,
ACCOUNT_ROLE_ID NUMBER NOT NULL
ALTER TABLE ACCOUNT_MODULE_ROLES ADD (
CONSTRAINT ACCOUNT_ROLES_PK
PRIMARY KEY
(ACCOUNT_MODULE_ROLE_ID));
ALTER TABLE ACCOUNT_MODULE_ROLES ADD (
CONSTRAINT AMR_ACC_FK
FOREIGN KEY (ACCOUNT_ID)
REFERENCES ACCOUNTS (ACCOUNT_ID)
ON DELETE CASCADE
ENABLE VALIDATE);
I've created the LOV on AccountModuleRolesView.1. Create a transient attribute AccountFirstName. - Created in AccountModuleRolesView1, attributes a transient string called AccountFirstName with an alias of VIEW_ATTR
2. Create a VA on accountId attribute. - VA? There is a tab called View Accessors and I have three, one for each of the FK's.
3. In attribute mapping ... Where abouts is that? After I've created the LOV?
map ... accountId to accountId I did this in the LOV, list return values, using the VA's I linked in.
and fristName to accountFirstName. Did this also in the same place.
4. In UI hints shuttle accountFirstName. The field doesn't show up in the list to shuffle, only the underlying eo attributes. -
Interacting with flash via a loaded text?
Here's my problem:
I have a project with loads of text ergo I am loading text
from external files with html formating. Now I have to insert
videos linked to the text file too (as in "dolor ipsum ... press
here to view video"). All I need is a code that lets my text
interact somehow with the movie.
Can I do it somehow through Javascript/Coldfusion/anything or
do I have to scrap my text and make things manually ?I meant to write asfunction.
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"Motion Maker" <[email protected]> wrote in
message
news:e3rpfa$7jh$[email protected]..
If by "text interact somehow with the movie" perhaps you need
to look at AS
function and call an Actionscript function that loads the
external video.
http://livedocs.macromedia.com/flash/8/main/00001719.html
Example there shows how to work it with external sound.
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"pixelfreak01" <[email protected]> wrote in
message
news:e3mu2q$gf6$[email protected]..
Here's my problem:
I have a project with loads of text ergo I am loading text
from external
files
with html formating. Now I have to insert videos linked to
the text file too
(as in "dolor ipsum ... press here to view video"). All I
need is a code
that
lets my text interact somehow with the movie.
Can I do it somehow through Javascript/Coldfusion/anything
or do I have to
scrap my text and make things manually ? -
Bug with ListView!?
Can someone please run the following code and tell me what is wrong? We have the following problem:
If some cell is selected, and then you select another cell, the previously selected cell becomes partly blank (only the text element).
If I mouse over the previously cell, the text appears again.
A few things to notice:
- If I remove from.setTextFill(Color.RED); from the code, it behaves as a normal list, without the bug.
- I wonder why the text Label is highlighted white, while the text2 Label is not highlighted, while focussed.
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.ListCell;
import javafx.scene.control.ListView;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Priority;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.util.Callback;
public class TestApp3 extends Application {
public static void main(String[] args) throws Exception {
launch(args);
private ObservableList<Double> items = FXCollections.observableArrayList();
public void start(Stage stage) throws Exception {
VBox root = new VBox(4);
final ListView<String> listView = new ListView<String>();
listView.setItems(FXCollections.observableArrayList(
"Row 1", "Row 2", "Long Row 3", "Row 4", "Row 5", "Row 6",
"Row 7", "Row 8", "Row 9", "Row 10", "Row 11", "Row 12", "Row 13",
"Row 14", "Row 15", "Row 16", "Row 17", "Row 18", "Row 19", "Row 20"
listView.setCellFactory(new Callback<ListView<String>, ListCell<String>>() {
@Override
public ListCell<String> call(ListView<String> stringListView) {
final CellItem cellItem = new CellItem();
final ListCell<String> cell = new ListCell<String>() {
@Override
protected void updateItem(String item, boolean empty) {
super.updateItem(item, empty);
if (item != null) {
cellItem.setItem(item);
cell.setGraphic(cellItem);
return cell;
root.getChildren().add(listView);
Scene scene = new Scene(root, 800, 600);
scene.getStylesheets().add("styles.css");
stage.setScene(scene);
stage.show();
class CellItem extends HBox {
private Label from;
private Label text;
private Label text2;
public CellItem() {
super();
text = new Label();
text2 = new Label();
from = new Label();
text.setMaxWidth(Double.MAX_VALUE);
HBox.setHgrow(text, Priority.ALWAYS);
getChildren().add(from);
getChildren().add(text);
getChildren().add(text2);
public void setItem(String item) {
if (item != null) {
text.setText(item);
text2.setText("Text");
from.setText("Bla");
from.setTextFill(Color.RED);
} else {
text.setText(null);
}Hi,
Actually it's some kind of bug because the ListCell doesn't convert the color of textfill when the cell is select except for the "Black" filled text. The listcell must render the text fill color of all text inside it with different color to "white" when they are selected.
@csh
Any way for currently you can do things like this:
First make public access to your Label:"from" variable of CellItem as getFrom().
And add this line in ListCell factory of ListView
cellItem.setItem(item);
// New Code [start]
cell.selectedProperty().addListener(new ChangeListener<Boolean>(){
@Override
public void changed(ObservableValue<? extends Boolean> ov, Boolean t, Boolean t1) {
CellItem it = (CellItem)cell.getGraphic();
if(it!=null){
if(t1.booleanValue()){
it.getFrom().setTextFill(Color.WHITE);
}else{
//you own color which you want
it.getFrom().setTextFill(Color.RED);
// New Code [end]
cell.setGraphic(cellItem);
return cell;
//.....I know this is not a perfect but it's just for working currently.I wish JavaFX Control devs will listen this thread.
Thanks.
Narayan -
Link styles via CSS...
Hi,
I would like to control my link styles within my CSS panel,
but if I set up one set (up, over, blah, blah)...how about if I
want yet another style set for link text that's within a different
color cell? Is it possible? How?
Also, I have controlled background imagery and copy via CSS.
But I would like to add ALT tags to portions of the background
image. My properties inspector won't bring it up as an option due
to the CSS. Do I just have to work with the HTML instead of the
visuals?
-- Same situation for the 'hot spot' tool, and I really need
to use it but my bg image is unselectable due to it being inserted
via CSS. The Properties doesn't "see it". How do I get around that?
thank you!!
thanks!Pseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"r_tist" <[email protected]> wrote in
message
news:fafjlv$q28$[email protected]..
> Hi,
>
> I would like to control my link styles within my CSS
panel, but if I set
> up
> one set (up, over, blah, blah)...how about if I want yet
another style set
> for
> link text that's within a different color cell? Is it
possible? How?
> Also, I have controlled background imagery and copy via
CSS. But I would
> like
> to add ALT tags to portions of the background image. My
properties
> inspector
> won't bring it up as an option due to the CSS. Do I just
have to work with
> the
> HTML instead of the visuals?
> -- Same situation for the 'hot spot' tool, and I really
need to use it but
> my
> bg image is unselectable due to it being inserted via
CSS. The Properties
> doesn't "see it". How do I get around that?
>
> thank you!!
>
> thanks!
> -
How to send images and other colored text in email body
Hi
We are using SAP CRM 4.0 and we would like to send email to our customers using actions configured for activity. Our objective is to send Marketing Emails containing <u>Images and Color texts</u> in the BODY OF THE email and not as a PDF attachment.
The only relevant provision we could see in SCOT is either Text or PDF. On using text , we are loosing all images and color. The PDF option works , but the email generated is a blank email with PDF document as attachment.
We want the matter to be inserted in the body of the email and not as attachment.
Please do let us know if any one has faced similar situation and is there a resolution.
Thanks and Advance.
Regards
SachiAre you pasting in the HTML code?
You can't use the formats in the CRM editor to set bold text, etc. You have to use the HTML code and have set the Form up as Internet mail
http://help.sap.com/saphelp_crm40sr1/helpdata/en/82/dbfd38ccd23942e10000000a114084/content.htm
Here's the first screen setting for my test email:
Form Y_TRADE_SHOW_INVITATION / Trade Show Invitation (Test)
Form Usage 1 Internet Mail (SMTP)
Text Type 1 HTML
IBU Scenario
Customer Scenario
Page Format DINA4 Status Created
Characters Per Inch 10.00
Lines Per Inch 6.00
Style SYSTEM SAP Smart Forms Default
Created By MANECITO Changed By MANECITO
Date 01/16/2007 Date 05/22/2007
Time 09:49:12 Time 18:01:51
then, your email has to have the HTML tags
A bare minimum is your email has to have the <HTML> tag at the top, but it's advisable to be sure you have a more complete setup like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-size: x-large;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
.style5 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; }
-->
</style>
</head>
<body>
ENTER YOUR HTML MESSAGE HERE
</body>
</html> -
Spry Photo Gallery Image Size via CSS
Hello!
I´ve been customizing the spry photo gallery for a couple of time, but got my little problem when viewing it on a mobile phone. When you load up the pictures with a size of 450 x 300 px for example, put up the right xml file with it´s width and height, so the gallery shows the pictures in that size. So what I want to do is that you can specify the image size with css depending on the device you´re watching the site with. There is div in the css called "mainImage" where the size is in %. When you change it to 75% for example. The pictures are correctly shown with 75% of it´s original size, but the outline (grey background) is still in 100%. When you make this grey background transparent it´s still there and moves the caption down. I guess there have to be done some changes within the SpryImageViewer.js, but I just know very little things about JavaScript. Do you have any clues how to change this to specify the image size via CSS?
Thank you for your help!!!
Kind regards,
JoergI see you are still using Spry 1.5. Have you considered upgrading to
Spry 1.6.1?
Also your XML is broken, if you open up your xml in a normal standards
complaint browser such as firefox, you will see that it doesn't render
a normal tree view as it would do with other xml files. So i suggest
checking those errors out.
Its mainly because you forgot to close your starting tag of the
gallerys node. (<gallery
base = ""
background = "#FFFFFF"
banner = "#F0F0F0"
text = "#000000"
link = "#0000FF"
alink = "#FF0000"
vlink = "#800080"
before your xml starts. -
Hi there. It looks like I’m going to need your help
again with a vexing table issue.
Check this out:
http://www.fastventures.co.uk/en/sec_test.html
Take a close look at the table that includes the main
navigation bar and you will notice that to the right, the last cell
is off by 1 px although the entire table was consistently styled
via CSS to match the following criteria:
.hspacer_36 /* height spacer **/
background-color: #999999;
height: 36px;
The odd thing is, that the table right next to (to the left)
was styled exactly like that and displays perfectly. Any ideas?
As you can imagine, resolving this issue is critical as we
otherwise may not be able to adopt this design.
Thanks a million for your time and help.What browser are you using becuase I dont see the width diff
(FF2.0 on win)?
In general though I have had this issue appear when I have a
table that has
an odd number width and then two cells that are width=50% ...
"HTML-Newbie" <[email protected]> wrote in
message
news:fcgv2m$h9$[email protected]..
> Hi there. It looks like I?m going to need your help
again with a vexing
> table
> issue.
>
> Check this out:
>
>
http://www.fastventures.co.uk/en/sec_test.html
>
> Take a close look at the table that includes the main
navigation bar and
> you
> will notice that to the right, the last cell is off by 1
px although the
> entire
> table was consistently styled via CSS to match the
following criteria:
>
> .hspacer_36 /* height spacer **/
>
> {
>
> background-color: #999999;
>
> height: 36px;
>
> }
>
> The odd thing is, that the table right next to (to the
left) was styled
> exactly like that and displays perfectly. Any ideas?
>
> As you can imagine, resolving this issue is critical as
we otherwise may
> not
> be able to adopt this design.
>
> Thanks a million for your time and help.
>
> -
Text won't go out via SMS (green box messages) why? I was working earlier
My iphone is not letting me send massage via SMS? When I text my father it goes through probably because he has an Iphone too because his messages are blue not green. What is going on?
Blue messages signify "iMessage" when your iphone detects that the recipient is on another iOS device and makes the switch automatically. The transition is seamless and invisible to both parties (other than the color of the bubble) with the added benefit of not taking away from your SMS plan.
-
Different color text in text area???????
hi,
i am working on applet in which i want to show different color text in text area????????
could any one help meI'm not sure it replies, we have developed an
editorkit for the JEditorPane for colorizing a
text with a property file describing a grammar. We
provide in the packaging a trivial sample
for coloring a java syntax in an applet.
http://www.japisoft.com/syntaxcolor
And of course it also requires that you buy it, and a.brillant forgot to mention that a.brillant has a financial interest in this product. -
I am unable to printe a document I created on my Mac with Pages via a wired Lexmark X2650 printer. Of course, I have already confirmed that it is correctly set up and connected. Why?
Thank you.
<Email Edited by Host>TextEdit is an application on your Mac.
Type TextEdit into Spotlight (magnifying icon top right on the menubar) to quickly locate and open it.
It is the basic Text/Word Processor (but actually very capable) that comes with all Macs and a good place to test differences if you hit a problem.
Peter
Maybe you are looking for
-
Help Setting up Mac Mini Server for Printer/File Sharing to Windows comp.
Hi, so in our office, we decided only to switch half of the office to macs for budgetary reasons. We purchased the mac mini server to replace the 5,000 year old one and have also gotten to macbooks and a mac mini. My other two co-workers unfortunatel
-
This occurs upon initial boot up and no other users are on. No other firefox is running. The current version will then open without issue. Just want to warning removed
-
Trigger problem (urgent)
Here is my trigger. it doesnt give any error but it doesnt work. the aim: i have 2 tables and 1 view. (i cannot change this structure currently.) Registered (student, course) --table WaitingFor (student, course, regisdate) --table DemandOfCourses (st
-
Ok so im having the well known MTP/WMP problems, have spent hours going through the forums looking for solutions to this problem, yes i tried the XP route with very little success because i have an XP system with sp3 (called around cannot find anyone
-
Can I reinstall MS explorer?
I have a website that really wants IE. The bad news is that I trashed it as soon as I got this machine. How can I find the download to reinstall it?