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. Stylesheet problem with borders
Forum Updated to NodeBB v4.3 + New Features

Stylesheet problem with borders

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 684 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lfdm
    wrote on last edited by
    #1

    Hi,

    I'm trying to style an application and if I touch a widget border to change it to a different color or thickness, it will always make the widget flat.

    To make a widget pop up a bit, I'd like to be able to let say set the border to black and have to a second border line after the right and bottom border.

    So far, my research got me to try setting the right and bottom borders to another style like groove or ridge, which are supposed to be supported.

    So I got :
    @QFrame#groupFormFrame{
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-right: 2px groove black;
    border-bottom: 2px groove black;

    outline: 1px solid red;
    background-color: #464646;
    

    }
    @

    None of groove nor ridge have any effects, I get 2 black lines. No chance with setting the outline either.

    Does anybody have any ideas how I could achieve this through stylesheet only?

    Cheers,
    -Damien

    Damien LEFEVRE - http://www.lfdm.net

    1 Reply Last reply
    0

    • Login

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