Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] CSS image not displayed
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] CSS image not displayed

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 637 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on 16 Aug 2013, 18:08 last edited by
    #1

    So, I am trying to add image to my button... In QtEditor it's displayed, but when I build it then image won't show up...

    !http://img35.imageshack.us/img35/232/jyad.png(Image)!

    My Css properties for button

    @margin-left: auto;
    margin-right: auto;
    background-image:url(':/images/exit.png');
    background-position: top left;
    background-repeat:xy;
    border-style: outset;
    border-width: 1px;
    border-color: white;
    @

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on 16 Aug 2013, 19:14 last edited by
      #2

      Did qmake and image showed up...

      1 Reply Last reply
      0

      1/2

      16 Aug 2013, 18:08

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved