Simple layout issue: positioning text atop a JButton image

(I apologize for the cross-post; I assumed that this forum was for relatively advanced Swing topics, and therefore initially posted this question in the "New to Java Technology" forum.)
I've got a newbie Swing problem that I just can't seem to figure out. Basically, I'd like to place text for a JButton in a certain location within the image I'm using for the button. If I use the following code:
String buttonText = MyStringFactory.getString();
JButton myButton = new JButton(buttonText, new ImageIcon("myimage.png"));
myButton.setHorizontalTextPosition(SwingConstants.CENTER);
myButton.setVerticalTextPosition(SwingConstants.CENTER);The text will display within the button, but it will be exactly centered atop the image. What I'd like is to have the text displayed on top of the image, but to be left-aligned. So, instead of:
|        Test        |
----------------------I want:
| Test               |
----------------------Where the image behind the word "Test" is the image specified when I created the myButton JButton object. The string can be of varying length and must support various fonts (i.e., simply using a monospaced font and padding on the right-side of the string with spaces isn't an option). In more explicit terms, what I want is a way to center the text vertically with respect to the background image, and place it (the text) X pixels from the left-hand side of the background image.
I've looked at using OverlayLayout to solve this problem, creating a JButton and a JLabel and placing them both within a JPanel. However, when I do this, the JLabel is always rendered behind the JButton, so I can't see it. Is there any way to specify the z-ordering of objects in a JPanel when using OverlayLayout?
Or is there a much simpler solution to this (seemingly) simple problem?
Thanks in advance for any assistance!

hello guy,
well, you seem to want your text to be in a very specific position since you mention x pixels.
i don't think you can tell a JButton where exactly to draw the text and icon.
if you want to do that, you'll have to create you own button.
something like that:
class CustomButton extends JButton {
String text;
ImageIcon icon;
public CustomButton(String text, ImageIcon icon) {
// only use the default constructor of the JButton
// and save the text and icon separately
super();
this.text = text;
this.icon = icon;
// set some preferred size so that the layout
// manager has some idea of how big your button will be
this.setPreferredSize(new Dimension(
icon.getIconWidth(),
2*icon.getIconHeight()));
// override paintComponent()
public void paintComponent(Graphics g) {
// first call this method in the super class
// this will draw your button color, outline, borders..
super.paintComponent(g);
// now draw your icon whereever you want it on
// your button
g.drawImage(icon.getImage(),5,
getHeight()/2-icon.getIconHeight()/2,null,this);
// and draw your string.
// using FontMetrics to get the dimensions of your
// string will allow it to be independent of
// font type and size
g.drawString(text, icon.getIconWidth()+10,
getHeight()/2+g.getFontMetrics().getAscent()/2);
hope that helps a bit :)
cheers, alex.

Similar Messages

  • When some one calls the caller ID shows the name twice as we'll as when I receive texts it shows up twice.  I'm sure it's a simple setting issue. Any thoughts ???

    When some one calls the caller ID shows the name twice as we'll as when I receive texts it shows up twice.  I'm sure it's a simple setting issue. Any thoughts ???

    have the same issue on my 9630 after upgrading to 624 version. It momentarily shows the previously callers information before showing the new caller's info.

  • CSS Layout issue!! Help Urgent!!

    I am having a problem with creating a css layout, in the past i used tables and am trying to convert my sites for my customers. I have layed out the website using divs and css and it looks great until i put in the cosing of the menu bar. when i put in the coding for the menu bar suddenly the bar has a padding around it but i cannot find a padding that would change this in the css coding. I need this done asap! so please help. ill show my coding below:
    this is the div coding:
    <div id=Nav>
       <ul class="dropdown" id="Bar"; width: 879px" name="Bar">
             <li class="style16" style="width: 161px; height: 22px">
       <a href="default.html" style="width: 146px">Home</a></li>
             <li class="style10" style="width: 169px; height: 23px">
       <a href="about.html" style="width: 153px">About</a></li>
         <li class="" style="height: 31px; width: 175px; left: 0px; top: 0px">
       <a href="Equipment.html" class="style18">
       <div class="style10" style="width: 156px; height: 20px;">
        Equipment</div>
       </a> <ul class="sub_menu">
                <li><a href="compressor.html">Air Compressors</a></li>
                <li><a href="compactions.html">Compaction</a></li>                            
                <li><a href="concrete.html">Concrete Equipment</a></li>
                <li><a href="forklifts.html">Fork Lifts</a></li>
                <li><a href="generators.html">Generators</a></li>                            
                <li><a href="groundthawing.html">Ground Thawing</a></li>
                <li><a href="heaters.html">Heaters</a></li>
                <li><a href="scissorlifts.html">Scissor Lifts</a></li>                            
                <li><a href="boomlifts.html">Boom Lifts</a></li>
                <li><a href="lighttowes.html">Light Towers</a></li>
                <li><a href="misc.html">Misc.</a></li>                            
                <li><a href="dirtequipment.html">Dirt Equipment</a></li>
                <li><a href="powertools.html">Power Tools</a></li>
                <li><a href="pumps.html">Pumps | Saws | Welders</a></li>                              
                     </ul>
             </li>
             <li style="width: 165px"><a href="locations.html">
       <div class="style10" style="width: 154px">
        Locations</div>
       </a>
               </li>
                 <li style="width: 180px"><a href="contact.html">
       <div class="style16" style="height: 24px">
        Contact Us</div>
       </a>         </li>
            </ul>
      </div>
    This is the css coding:
    #wrapper {
    width: 880px;
    margin-right: auto;
    margin-left: auto;
    background-color: #f4f4f4;
    #Navigation {
    background-image: url(Images/NAvigation%20BAr.jpg);
    background-repeat: no-repeat;
    width: 880px;
    visibility: visible;
    height: 3-px;
    vertical-align: top;
    Nav {
    vertical-align: top;
    margin: 0px;
    padding: 0px;
    clear: both;
    height: 20px !important;
    #wrapper1 {
    width: 876px;
    margin-right: auto;
    margin-left: auto;
    color: #F4F4F4;
    /* IE10 Consumer Preview */
    background-image: -ms-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Opera */
    background-image: -o-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #716375), color-stop(1, #E8E8E8));
    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to right, #716375 0%, #E8E8E8 100%);
    margin-bottom: auto;
    #Bar {
    background-repeat: no-repeat;
    width: 880px;
    height: 28pt;
    overflow: visible;
    background-image: url(Images/NAvigation%20BAr.jpg);
    position: relative;
    vertical-align: top;
    #container {
    width: 880px;
    color: #000;
    background-color: #EDEDED;
    dominant-baseline: 578px;
    /* IE10 Consumer Preview */
    background-image: -ms-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Opera */
    background-image: -o-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #716375), color-stop(1, #E8E8E8));
    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(left, #716375 0%, #E8E8E8 100%);
    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to right, #716375 0%, #E8E8E8 100%);
    margin-bottom: auto;
    #content {
    float: left;
    color: #090;
    width: 580px;
    padding-right: 6px;
    background-color: #033;
    margin-top: 20px;
    .container {
    color: #000;
    background-color: #ff6;
    width: 876px;
    #expect {
    height: 164px;
    width: 294px;
    float: right;
    position: relative;
    background-color: #C90;
    margin-left: 582px;
    padding-top: 10px;
    #hours {
    float: left;
    height: 55px;
    width: 294px;
    line-height: 4px;
    word-spacing: normal;
    white-space: normal;
    display: inline;
    letter-spacing: normal;
    padding-top: 10px;
    font-size: 13pt;
    color: #000;
    margin-left: 586px;
    background-color: #F99;
    #footer {
    height: 76px;
    width: 880px;
    background-color: #CC0;
    clear: both;
    #cards {
    float: right;
    height: 31px;
    width: 294px;
    margin-left: 582px;
    padding-top: 10px;
    background-color: #F36;
    #contact {
    float: left;
    height: 328px;
    width: 293px;
    word-spacing: normal;
    white-space: normal;
    line-height: 1px;
    color: #000;
    display: inline;
    font-size: 14pt;
    background-color: #FFF;
    padding-top: 10px;
    margin-top: 20px;
    #header {
    background-image: url(Images/Proquip%20Logo/Proquip%20logo2.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 885px;
    height: 126px;
    background-color: #000;
    margin-right: 2.5px;
    margin-left: 0px;
    #wrapper #container #contact p strong {
    color: #800000;
    font-size: 14pt;
    #wrapper #container #contact blockquote p a {
    color: #000;
    #wrapper #container #expect div {
    color: #900;
    font-size: 14pt;
    font-weight: bold;
    #wrapper #container #hours div {
    color: #900;
    font-size: 14pt;
    font-weight: bold;
    #box2 {
    background-image: url(Images/Option%201/Services/whitebox2.jpg);
    #box3 {
    background-image:url(Images/Option%201/Services/redbox2.jpg);
    background-repeat:no-repeat;
    background-position: center center;
    #gold {
    background-image:url(Images/Option%201/Logos/gold.gif);
    background-repeat:no-repeat;
    #white {
    background-image:url(Images/Option%201/ProQuip-Pics/box1.gif);
    background-repeat:no repeat;
    #forklift {
    background-image:url(Images/Option%201/ProQuip-Pics/34-01-4380.jpg);
    background-repeat:no-repeat;
    #scissorlift {
    background-image:url(Images/Option%201/ProQuip-Pics/jlg-scissor-lifts-21.jpg);
    background-repeat:no-repeat;
    /* Navigation Menu- Level one */
    ul {
    list-style: none
    ul.dropdown {
    font-size: 13pt;
    color: #000000;
    height: 25px;
    text-decoration: none !important;
    width: 860px;
    position: relative;
    vertical-align: top;
    ul#Bar.dropdown {
    width: 878px;
    position: relative;
    vertical-align: top;
    ul.dropdown li {
    font-weight: 600;
    float: left;
    zoom: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13pt;
    display: block;
    width: 175px;
    color: #000000;
    top: 25px;
    text-decoration: none !important;
    text-align: center;
    ul.dropdown a:hover {
    color:#cc0000;
    ul.dropdown a:active {
    color: #000000;
    ul.dropdown li a {
    display: block;
    border-right: 1px solid#333;
    color: #000000;
    border-right-width: 1px;
    text-decoration: none !important;
    text-align: center;
    ul.dropdown li:last-child a {
    border-right:none; /* does not wotk in IE */
    text-decoration:none !important; } 
    ul.dropdown li.hover,
    ul.dropdown li.hover {
    color: #000000;
    position: relative;
    height: 28px;
    top: 0px;
    ul.dropdown li.hover a {
    color:#800000;
    /* Level Two Navigation */
    ul.dropdown ul {
    width: 180px;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 36%;
    display: block;
    float: left;
    color: #000000;
    text-decoration: none !important;
    height: 25px;
    ul.dropdown ul li {
    font-weight: normal;
    color: #000000;
    border-bottom: 1px solid #ccc;
    float: left;
    border-bottom-color: #c0c0c0;
    border-bottom-style: groove;
    display: block;
    background-color: #dbdbdb;
    text-decoration:none !important;
    /* IE 6&7 needs inline block */
    ul.dropdown ul li a {
    border-right: none;
    display: inline-block;
    height: 18px;
    line-height: 16px;
    color: #000000;
    width: 100%;
    text-decoration: none !important;
    /* Level Three Navigation */
    ul.dropdown ul ul {
    top: 100%;
    color: #000000;
    text-decoration: none !important;
    ul.dropdown li:hover>ul {
    visibility: visible;
    color: #000000;
    top: 30px;
    text-decoration: none !important;

    I have the site using tables up and running, this is a website for a client so I cant make a test site using that domain would it be ok if I screen shot'ed the problem?
    Date: Thu, 24 Apr 2014 12:19:44 -0700
    From: [email protected]
    To: [email protected]
    Subject: CSS Layout issue!! Help Urgent!!
        Re: CSS Layout issue!! Help Urgent!!
        created by Jon Fritz II in Dreamweaver support forum - View the full discussion
    Well, you're not using position:absolute, so you've got a big thumbs up from a bunch of us for that.
    Is there any chance you could post a link to this page on your server? It's much easier to troubleshoot from a browser than it is to rebuild the page from code fragments.
    If you haven't gone live with the page yet, create a folder called TEST in your site and save copies of the page and css there. Upload TEST and post a link to it here. Once the problem is found/fixed, delete TEST from the server.
    You can also attempt to use Firefox or Chrome to find your issue by right clicking > Inspect Element. All CSS that affects a given element will be displayed with file name and line numbers there.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6327947#6327947
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6327947#6327947
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6327947#6327947. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • (CSS) Can this simple layout idea be better coded?

    Hi guys,
    I'm trying to build a very simple layout made slightly more complex via a background gradient that needs to be in sync with the foreground image.
    http://vilverset.com/murray.php
    As you can see, the layout is supposing a 1000px wide viewport, or bigger. The foreground image is 650px wide, and the text column next to it is 350px wide. This fills up our 1000px viewport.
    Now, normally, I would just apply the image as a background to the text column's container (and make that container 1000px wide), except that there are a few conditions to this layout that make that solution ill-advised.
    When there's enough content to fill it, the text column needs to stretch from the top to the bottom of the viewport, and trigger the main browser vertical scrollbar when exceeding this window.
    When there isn't enough content to fill the length of the column, the content should be vertically centered.
    The image on the left of the column should be vertically centered at all times, or it will lose its sync with the site's background gradient.
    The image on the left of the column should never scroll with the content. It should be fixated.
    The combination of the image and column should be centered in the viewport (both axis).
    You've seen how I did it @ the link above. Div class "image" has the main image as a background, and this image is padded to extend to fill the whole 1000px width of the site layout. It's the only way I could think of to offset the image from the center spot. Ditto the text column, which is in a 350px wide div, that has a 650px left side margin (totalling 1000px).
    The main negative side-effect of this method occurs when you reduce the viewport to less that 1000px in width. The image starts moving AWAY from the column (as you can see by trying it out at the link above).
    If there's a better way to get that image and that column into position, and the combination of both centered on the screen in both axis... I'm willing to try it!

    I'm glad you're pleased with your layout.     I'm having a few problems with it.
    When viewed on a narrow screen such as an iPhone in landscape mode, your image moves leftwards out of view.  And when device is scrolled horizontally to see content, text collides with the image.  Is this what you want to have happen? (see screenshot)
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    mjyeager wrote:
    You tell me these things can't be done, but I've got foreground JPGs with gradients perfectly in sync with the background gradient, and neither of them scrolls with the text content. So not only can it be done, I've done it. Right there, at that link I posted in the OP. And it works in all major browsers, including Safari on Mac.
    I was just wondering if there was a BETTER way to do it. But if people are going to start telling me it simply can't be done, when the proof that it can is staring them in the face, then I guess I'll just count myself lucky that I achieved what I've achieved and stick with what I've got.

  • Report - RTF layout issue

    Hi,
    I have done customization in Quote Print report using Reports 6i. I get the output appropriately if i select PDF format. But in RTF format, the last line of each page is not/partially displayed. Also the last character of each line is getting cut-off if it spans across entire line,(because the field/frame border line is overwriting the last character).
    Please post your suggestions here on resolving the above issue.
    Thanks.
    Regards,
    Ajith Gopinath

    Play with changing your frames to have horizontal/vertical elasticity of variable. There is also a Metalink note that talks about some boilerplate being truncated (not sure if that applies to you). The note is 433464.1. It says to do that following:
    1. Set the environment variable: REPORTS_ENABLE_RTF_SPACING=YES
    2. From Reports Builder, for the text field giving the problem, go to Layout menu Format -> Text Spacing -> Custom -> Other = 1 pts.
    Both steps must be performed.
    The environment variable would also have to be done on the server you are deploying reports to.

  • Layout issue while trying Migrate Oracle Report to XML publisher Reports

    Hi
    I am trying to Convert Seeded Oracle Reports (rdf) to BI Publisher reports, in doing so encounter layout issues. The layout of the RTF , PDF or HTML generated by BI Publisher is different form the text, PDF or HTML outputs generated by the concurrent report. The problem with the BI Publisher template and out put
    Is, the lay out is getting distorted .
    Steps to archive the migration :
    -     download the rdf from the server to local m/c.
    -     execute Forms 9i Util rwconverter to generate a xml
    -     use the oracle.apps.xdo.rdfparser.RTFTemplateGenerator API to generate a RTF template of the report layout
    -     Then use this template to generate a XSL via oracle.apps.xdo.template.RTFProcessor API
    -     The Apply the XSL on the XML data output of the report using oracle.apps.xdo.template.FOProcessor to generate RTF , PDF & HTML files.
    Name of the Report used for migration “FSG - Report Detail Listing” , responsibility GL super User. This was just a random report we picked-up for trial.
    The layout of these files seems to distorted than the layout of the original report output as generated by the rdf report.
    Pls suggest some means to resolve this or any pointers towards what causing this could be of help.
    -     Shudipto

    The process of "converting" an old Oracle Reports rdf into a BIP report is more akin to writing a brand new report in BIP than to what most people would consider a true conversion.
    The conversion routine outlined by Oracle just gives you a starting point for converting RDF layouts into BIP, and nothing more. In regards to the data define it does somewhat better generating your queries and XML layout (but honestly, that is the easy part), but even for the data define it will lose your formula columns as well as report triggers.
    I have used the converter on several dozen rdf files and I have yet to see one that is better than 10-20% ready for use after the conversion process.
    I would strongly suggest that you only convert the reports that you have to convert (for enhancements, modifications, etc). If it ain't broke in old Oracle Reports, dont' try to fix it in BIP.
    Scott

  • Having trouble positioning text

    http://kurtesposito.com/contact.htm
    Looking for some help on how to position this text on this page. Not sure what I'm doing wrong. Also looking for helping on that horizontal strip of white running along the top of my image.
    Thanks

    You have some errors.
    Line 136, you are attempting to merge html and css...
    <img src="images/hurtlogo_original.png" height="80" width="329" float=left />
    float=left is not valid html or css. If you want the image floated left, you need to put it in a style attribute and format it as css...
    <img src="images/hurtlogo_original.png" height="80" width="329" style="float;left;" />
    You also have several line items (the <li> tags around line 139) that are not properly contained within a <ul> or <ol> tagset...
    <div id="nav">
    <ul>
    <li><a href="index.htm">Home</a></li><li><a href="about.htm">About</a></li><li><a href="portfolio.htm">Portfolio</a></li><li><a href="http://kurtesposito.com/blog/">Blog</a></li><li><a href="contact.htm">Contact</a></li>
    </ul>
    </div>
    As far as your original issue, not knowing how to position text, did you have some more information on what you wanted to do?
    I'm also not seeing white space with your image (I assume you mean the KurtLogo?).

  • H:selectOneRadio layout issue

    All,
    I'm new to JSF and am wondering if anyone had tackled a layout issue that I am running into.
    I have a h:selectOneRadio tag inside which, I have a couple of f:selectItem items. I want to show some text fields and then show the last f:selectItem item. Is it possible in JSF?
    <br>
    In plain html terminology, I want :
    radio
    radio
    textfield
    radio
    Code in html:
    <br>
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="550">
    <TR>
    <TD COLSPAN="2" WIDTH="100%">
    <b>Payment Method</b>
    </TD>
    </TR>
    <TR>
    <TD WIDTH="26%">
    </TD>
    <TD WIDTH="74%">
    <p class="body"><input type="radio" name="card" value="VI">Visa</p>
    </TD>
    </TR>
    <TR>
    <TD WIDTH="26%">
    </TD>
    <TD WIDTH="74%">
    <p class="body"><input type="radio" name="card" value="MC">MasterCard</p>
    </TD>
    </TR>
    <TR>
    <TD WIDTH="26%" align="right">
    <p class="body">Credit Card Number:</p>
    </TD>
    <TD WIDTH="74%">
    <input type="text" name="ccnum" maxlength="26" size="40" value="">
    </TD>
    </TR>
    <TR>
    <TR tal:replace="CVV2">
    <TD WIDTH="26%" align="right">
    <p class="body">Security Code:</p>
    </TD>
    <TD WIDTH="74%">
    <input type="text" name="cvv2" maxlength="4" size="5" value="">
    </TD>
    </TR>
    <TR>
    <TD WIDTH="26%" align="right">
    <p class="body">Expiration:</p>
    </TD>
    <TD WIDTH="74%">
    <p class="body"><input type="text" name="ccexmo" maxlength="2" size="2" value=""> <input type="text" name="ccexyear" maxlength="4" size="4" value=""> For example, 03/2007</p>
    </TD>
    </TR>
    <!-- The follow row should only be displayed if Billing is an option -->
    <TR tal:replace="BILLME">
    <td width="26%" align="right">
    <p class="body">Other Payment:</p>
    </td>
    <TD width="74%">
    <p class="body"><input type="radio" name="card" value="BILL">Please send me a bill.</p>
    </TD>
    </TR>
    </TABLE> Thanks
    Jim

    you can build this type of behaviour by creating a custom class.
    I think this is not possible by building the select items.
    PL,post the solution if you find any.
    -- raju

  • Layout issue with af:tree component

    I am using af:tree component but I am finding layout issue with it. I have a requirement where in I need the tree to stretch to the available space but a horizontal and a vertical scrollbar comes up automatically. Is there a way to handle this issue?

    User, without your jdev version it's hard to help.
    Have you embedded the tree component in a stretch layout?
    Timo

  • How can I position text vertically in a Numbers spreadsheet cell?

    Hi,
    I would like to position text in a series of Numbers cells in a vertical direction to reduce the width of the spreadsheet.  I can't find a way of doing this using the inspector or fonts panels?  Can anyone suggest a solution?
    Thanks in advance

    Is it so tiring to use the Search tool before asking a question ?
    Yours was asked and responded many times.
    Sometimes I wonder if I'm right when I think that human brain is more efficient than computers.
    These dumb machines are able to search by themselves and give links to some existing answers in the "More Like This" box !
    Yvan KOENIG (VALLAURIS, France) mardi 17 mai 2011 17:39:25

  • Help with adjusting layout, re-sizing text frames and images to fit new margin?

    i'm using InDesign CS5.5. I have a layout with several text frame boxes as well as some jpg and pdf images. I'm expanding the margin on one side and want to expand the text frames to utilize the extra space rather than just shift everything over. I've used the adjust layout script (which still requires some manual adjustment after) and obviously everything can be done manually but I'm looking for a more efficient solution. One challenge is that my pdf image needs to be re-sized separately to maintain scale of the image, the text frames just expand horizontally. What I would like is to have is a script that can do all of this at once, or is there a way to save the layout settings and apply them to my other documents? I have almost 300 documents to adjust... Can anyone suggest anything? Thanks.

    It could probably be modified to run on all open docs or a folder. You should ask over in scripting. InDesign Scripting

  • I'm having issues with text layers in photoshop. Text layers show it's there but not visible on the canvas.

    I'm having issues with text layers in photoshop. They aren't visible. I've checked font size, alignment, layer order and color. And the layer list shows that it's there. All seems well but I still can't see the text that I write. Need help trouble shooting. (I asked this question about a month ago but I got sidetracked and never circled back.) Thanks.

    Please refer to your original topic (Text Layer not Visible.) instead of posting a new topic.

  • Minor Layout Issue when Printing Invoices in Chrome (v20.0.1132.47)

    This is a relatively minor issue in the big scheme of things but a client of ours has reported a layout issue when bulk printing invoices in Chrome. It could be default browser behaviour which BC has no control over but I thought I’d submit it anyway.
    It occurs when you’re viewing the default Order Report (http://www.yourdomain.com/AdminConsole/#!/CRM/OrderList.aspx) in the BC v3 interface and you want to print invoices in bulk (see screenshot below).
    When you print invoices in bulk in Chrome they print on overlapping pages, as opposed to Firefox where each invoice will print on a separate page, which makes management much easier for our client. I’ve tried tinkering with the print settings inside of Chrome but I can seem to change it.
    Does anyone know a way around this or are we dealing with default browser behavior that is out of our hands?
    Cheers,
    Matt
    [email protected]

    Could someone assist please?
    I am having a similar problem.
    thanks

  • Issue of Text Qualiffier after upgrading to SQL Server 2014 Standard

    Hi,
    I'm facing an issue of Text Qualifier after I upgrading my system to SQL Server 2014 Standard Edition (Microsoft SQL Server 2014 - 12.0.2000.8 (X64)
        Feb 20 2014 20:04:26
        Copyright (c) Microsoft Corporation
        Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)
    I have a csv file with format: Text Qualifier is double pipes ||, Vertical Bar (|) as Column Delimiter and  Row Delimiter is CRLF.
    For example file:
    ||Col1|||||Col2||
    ||ABC|||||XYZ||
    This file is working OK in SQL Server 2008 R2 (SP2) but it does not work in SQL Server 2014. It raised error message while running.
    Error: An error occurred while skipping data rows.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on MediaAgencyGroup returned error code 0xC0202091.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure
    code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Any suggestion here?
    Thanks,

    Yes
    There's a difference in the way text qualifiers are parsed from 2012 onwards
    see
    http://www.proactivespeaks.com/2012/06/22/my-5-favorite-sql-2012-ssis-features-so-far/
    http://blog.concentra.co.uk/2013/06/24/ssis-2012-flat-files-now-greatly-improved-but-are-they-good-enough-yet/
    ANyways my preferred way to do this is as below
    http://visakhm.blogspot.in/2014/06/ssis-tips-handling-embedded-text.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • 11gR2- pdf report layout issue in chrome browser

    hi,
    We are using 11gR2(11.1.2) forms and reports,when we run reports as pdf in chrome browser it has layout issues, spacing,no data etc, but the same reports works fine on internet explorer 8.
    Is there any settings required in chrome browser, or report server?, please help with this issue.

    Did you ever solve this problem? I have the same problem... In IE it centers the report in the ReportViewer control but in Google Chrome the ReportViewer shows the report to the left... Left aligned.... What is the fix for this? Mike in Los Angeles, California,
    USA

Maybe you are looking for

  • USB Bluetooth or Airport Extreme?

    Hey all, I am purchasing a new Dual Core iMac and I am trying to decide whether to puchase an Airport Extreme along with it to make my condo wireless (including printer) OR to just purchase the cheaper USB Bluetooth device to plug into my Printer to

  • Differences between oraxsl output and XMLLoder transformation

    Following the ch14 deptempdepend example in Steves book, the data loads ok. However if I use oraxsl to transform the data into the canoconial rowset format using java oracle.xml.parser.v2.oraxsl deptempdepend.xml deptempdepend.xsl out.xml I get the r

  • Troubles with D-Link DIR 600 and AirPort Extreme

    Hi guys The question might has already been raised but I couldn't find anything in any other threads helping me. I've got a new router (came along with my new ISP) D-Link DIR600 which I tried to connect to my AirPort Extreme to have a secondary WiFi

  • EJB versioning information

    I am writing a report on versioning in EJB 3.1 but cannot find any more accurate information on the topic more than 'its managed by JNDI and is rarely used' or that is more than 5 years old. Does anyone have any pointers to a more accurate and curren

  • I can't seem to edit anything in PS Elements 13 on Mac. Bug?

    I can't seem to edit anything in PS Elements 13 on Mac. Whenever I click on the marquees to scale, crop, and other editing functions, nothing happens... Is there some kind of bug on the Mac OS version?