Search found 9 matches

by Xander
Thu Jun 24, 2021 2:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 6065

Re: CSS: Dynamic width based on text content

Hi Radu, Thank you for your quick and informative response. Your HTML example works on my end, however, while testing I noticed that when there is a break (space) in a text (writing a new word), it tends to write it on the following line. This means that the background will not extend. If a longer w...
by Xander
Thu Jun 24, 2021 10:19 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 6065

Re: CSS: Dynamic width based on text content

Hi Radu, I apologize, I did not take a good look at the supported properties table you had linked. 🤦 In this particular case I tried using it with a percentage so that it is a bit more flexible. conbody{ background-color: #f0f0f0; padding: 10px; min-width: 50%; } I also tried using min-width with ot...
by Xander
Wed Jun 23, 2021 5:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: setting default value in oxy_popup
Replies: 2
Views: 872

Re: CSS: setting default value in oxy_popup

Hi Alex,

Thank you for the clarification. 🙂
by Xander
Wed Jun 23, 2021 5:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 6065

Re: CSS: Dynamic width based on text content

Hi Radu,

Thanks for the quick and informative reply.

And just for further clarification, "min-width" is also not supported is it?

Thanks
by Xander
Tue Jun 22, 2021 6:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 6065

CSS: Dynamic width based on text content

Is it possible to create a box inside oXygenXML with a dynamic width, based on the text content? Does fit-content not work in oXygenXML? I tried the following: conbody{ background-color: #f0f0f0; padding: 10px; width: fit-content; However, the width is still extended to the full width of the page, a...
by Xander
Tue Jun 22, 2021 3:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: setting default value in oxy_popup
Replies: 2
Views: 872

CSS: setting default value in oxy_popup

Hi there, I have recently been playing with oxy_popup and I was wondering if it was possible to add a default type value for oxy_popup. For example in this case, instead of seeing 'No Value' as the default value when a step element is selected, is it possible to change the default values to be anoth...
by Xander
Tue May 18, 2021 2:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 1176

Re: CSS: Obtaining access to a contextual menu with no value selected

Hi Alex, I apologize, it seems as though I misunderstood your first reply. Yes, this works perfectly. I was just bit confused when I had tried it because when I removed @importance attribute, I ended up seeing something like Value1: Value1, printed inside a step element in the author mode, however, ...
by Xander
Fri May 14, 2021 11:14 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 1176

Re: CSS: Obtaining access to a contextual menu with no value selected

Hi Alex, Thank you for the quick reply. I actually want the pop up form control to edit the attribute @importance. The issue I am having is when the value has the possibility of having no value. If value1 or value2 have been preselected, then I can select another value from the pop up, if I decide t...
by Xander
Mon May 10, 2021 3:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 1176

CSS: Obtaining access to a contextual menu with no value selected

Hello, I am new to using CSS in oXygenXML Author, and more specifically the form controls. I have managed to customize quite a bit of the CSS to fit my needs. Recently, I tried to add a pop-up , to facilitate my work process in choosing the value for a specific attribute. *[class ~= "task/step&...