This is a continuation from https://community.skuid.com/t/columnset-not-rendering-according-to-display-properties?rfm… which has now been closed so I can no longer update it there.
Skuid 8.15.1 contained SKUID-1948, however there appears to still be an issue with ColumnSets rendering properly.
Column labels are still wrapping when set to “Fit to Content”, two identical columns are rendered differently and the 1st column takes up more space then necessary.
Note - Repro below uses Stock Lightning Design Theme
Steps to reproduce:
- Create page from XML below
- Preview page picking an account
Expected Behavior
Column #1 - Should only require 500px (its minimum)
Column #2 - If there is enough horizontal width on display (my test case is 1600x1200) the column should appear next to Column #1 and neither the label nor the value should wrap. If there is not enough width, the column should go to the next line and label/value should not wrap
Column #3 - Same as Column #2
Actual Behavior
Column #1 - Takes up 800+ px
Column #2 - Label wraps
Column #3 - Label wraps
Screen Shots
Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account"> <models>
<model id="Account" limit="1" query="true" createrowifnonefound="false" sobject="Account" adapter="" type="">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
</fields>
<conditions>
<condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
</conditions>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account" uniqueid="sk-3hKWSH-70">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions>
<action type="delete"/>
<action type="clone"/>
<action type="share"/>
<action type="savecancel" window="self"/>
</actions>
</pagetitle>
<basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="read" uniqueid="sk-3hKWSH-71" buttonposition="" layout="">
<columns layoutmode="fixed">
<column verticalalign="top" width="100%">
<sections>
<section title="Basics" collapsible="no">
<fields>
<columns layoutmode="responsive" columngutter="4px" rowgutter="4px">
<column verticalalign="top" ratio="1" minwidth="500px" behavior="flex">
<sections>
<section title="New Section" collapsible="no" showheader="false">
<fields>
<field id="Name" valuehalign="" type="">
<label>FiddlyFooFunFiddlyFoo</label>
</field>
</fields>
</section>
</sections>
</column>
<column verticalalign="top" behavior="fit">
<sections>
<section title="New Section" collapsible="no" showheader="false">
<fields>
<field id="Name" valuehalign="" type="">
<label>FiddlyFooFunFiddlyFoo22222</label>
</field>
</fields>
</section>
</sections>
</column>
<column verticalalign="top" behavior="fit">
<sections>
<section title="New Section" collapsible="no" showheader="false">
<fields>
<field id="Name" valuehalign="" type="">
<label>FiddlyFooFunFiddlyFoo22222</label>
</field>
</fields>
</section>
</sections>
</column>
</columns>
</fields>
</section>
</sections>
</column>
</columns>
</basicfieldeditor>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>