Skip to content

How to set a custom element width? #2055

Answered by DaveDavenport
Rabcor asked this question in Q&A
Discussion options

You must be logged in to vote
mainbox {
  padding : 24px;
  spacing : 24px;
  orientation:                 horizontal;
  children:                    [ "combined", "imagebox" ];
}

imagebox {
  expand: false;
  width: 40px;
    spacing:                     0px;
    background-color:            transparent;
    background-image:            url("/home/qball/Pictures/Wallpapers/37urs6dltg_Bonsai_Island_Tree.jpg", width);
}

inputbar {
  padding          : 0px;
  spacing          : 0px;
  children         : [ entry,icon-search ];
  border           : 0 0 2px 0 solid;
  border-color     : @accent;
  border-radius    : 2px;
  background-color : @bg0;
}
combined {
  orientation:                 vertical;
  children:

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Rabcor
Comment options

@DaveDavenport
Comment options

Answer selected by Rabcor
@DaveDavenport
Comment options

@Rabcor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants