Changeset View
Changeset View
Standalone View
Standalone View
package/contents/ui/main.qml
Context not available. | |||||
43 | Layout.maximumHeight: Layout.preferredHeight | 43 | Layout.maximumHeight: Layout.preferredHeight | ||
---|---|---|---|---|---|
44 | 44 | | |||
45 | property int textType: plasmoid.configuration.textType | 45 | property int textType: plasmoid.configuration.textType | ||
46 | property bool showFullTitleWhenMaximized: plasmoid.configuration.showFullTitleWhenMaximized | ||||
46 | property int fitText: plasmoid.configuration.fitText | 47 | property int fitText: plasmoid.configuration.fitText | ||
47 | property int tooltipTextType: plasmoid.configuration.tooltipTextType | 48 | property int tooltipTextType: plasmoid.configuration.tooltipTextType | ||
48 | property string tooltipText: '' | 49 | property string tooltipText: '' | ||
Context not available. | |||||
207 | windowTitleText.text = composeNoWindowText() | 208 | windowTitleText.text = composeNoWindowText() | ||
208 | iconItem.source = plasmoid.configuration.noWindowIcon | 209 | iconItem.source = plasmoid.configuration.noWindowIcon | ||
209 | } else { | 210 | } else { | ||
210 | windowTitleText.text = (textType === 1 ? actTask.AppName : null) || replaceTitle(actTask.display) | 211 | if(currentWindowMaximized && showFullTitleWhenMaximized) | ||
212 | windowTitleText.text = replaceTitle(actTask.display); | ||||
213 | else | ||||
214 | windowTitleText.text = (textType === 1 ? actTask.AppName : null) || replaceTitle(actTask.display); | ||||
211 | iconItem.source = actTask.decoration | 215 | iconItem.source = actTask.decoration | ||
212 | } | 216 | } | ||
213 | updateTooltip() | 217 | updateTooltip() | ||
Context not available. |